Codebase list golang-github-vbatts-go-mtree / 5bd602f6-34b2-411b-80f3-7d65781fd7d4/main xattr / xattr_unsupported.go
5bd602f6-34b2-411b-80f3-7d65781fd7d4/main

Tree @5bd602f6-34b2-411b-80f3-7d65781fd7d4/main (Download .tar.gz)

xattr_unsupported.go @5bd602f6-34b2-411b-80f3-7d65781fd7d4/mainraw · history · blame

// +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
}