1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2024-11-22 00:15:39 +00:00
go-mtree/xattr/xattr_unsupported.go
Vincent Batts 94303e15af
*.go: updated go:build added via gofmt
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-23 12:59:26 -04:00

22 lines
527 B
Go

//go:build !linux
// +build !linux
package xattr
// Get would return the extended attributes, but this unsupported feature
// returns nil, nil
func Get(path, name string) ([]byte, error) {
return nil, nil
}
// Set would set the extended attributes, but this unsupported feature returns
// nil
func Set(path, name string, value []byte) error {
return nil
}
// List would return the keys of extended attributes, but this unsupported
// feature returns nil, nil
func List(path string) ([]string, error) {
return nil, nil
}