royalcat
e9df8925d1
Some checks failed
docker / build-docker (linux/amd64) (push) Failing after 18s
docker / build-docker (linux/386) (push) Successful in 1m57s
docker / build-docker (linux/arm64) (push) Successful in 7m22s
docker / build-docker (linux/arm/v7) (push) Successful in 7m53s
docker / build-docker (linux/arm64/v8) (push) Failing after 3h2m18s
14 lines
419 B
Go
14 lines
419 B
Go
package cowutils
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
// ErrNotSupported is returned by Always() if the operation is not
|
|
// supported on the current operating system. Auto() will never return this
|
|
// error.
|
|
var (
|
|
ErrNotSupported = errors.New("cow is not supported on this OS")
|
|
ErrFailed = errors.New("cow is not supported on this OS or file")
|
|
ErrTooSmall = errors.New("file is too smaller then filesystem block size")
|
|
)
|