github.com/sym3tri/etcd@v0.2.1-0.20140422215517-a563d82f95d6/pkg/btrfs/btrfs_stubs.go (about)

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