sorcery-go/pkg/state/reflink_other.go

11 lines
222 B
Go
Executable File

//go:build !linux
package state
import "fmt"
// reflink is a no-op on non-Linux platforms — callers fall back to io.Copy.
func reflink(src, dst string) error {
return fmt.Errorf("reflink: only supported on Linux")
}