File: errors.go

package info (click to toggle)
golang-github-karpeleslab-reflink 1.0.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 120 kB
  • sloc: makefile: 13
file content (11 lines) | stat: -rw-r--r-- 359 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
package reflink

import "errors"

// ErrReflinkUnsupported is returned by Always() if the operation is not
// supported on the current operating system. Auto() will never return this
// error.
var (
	ErrReflinkUnsupported = errors.New("reflink is not supported on this OS")
	ErrReflinkFailed      = errors.New("reflink is not supported on this OS or file")
)