Codebase list golang-github-vbatts-go-mtree / upstream/0.5.0+git20210125.1.4d95ad8 xattr / xattr_unsupported.go
upstream/0.5.0+git20210125.1.4d95ad8

Tree @upstream/0.5.0+git20210125.1.4d95ad8 (Download .tar.gz)

xattr_unsupported.go @upstream/0.5.0+git20210125.1.4d95ad8raw · 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
}