btrfs_stubs.go 289 B

1234567891011121314151617
  1. // +build !linux !amd64
  2. package btrfs
  3. import (
  4. "fmt"
  5. )
  6. // IsBtrfs checks whether the file is in btrfs
  7. func IsBtrfs(path string) bool {
  8. return false
  9. }
  10. // SetNOCOWFile sets NOCOW flag for file
  11. func SetNOCOWFile(path string) error {
  12. return fmt.Errorf("unsupported for the platform")
  13. }