xattrs_unsupported.go 362 B

12345678910111213
  1. // +build !linux
  2. package system
  3. // Lgetxattr is not supported on platforms other than linux.
  4. func Lgetxattr(path string, attr string) ([]byte, error) {
  5. return nil, ErrNotSupportedPlatform
  6. }
  7. // Lsetxattr is not supported on platforms other than linux.
  8. func Lsetxattr(path string, attr string, data []byte, flags int) error {
  9. return ErrNotSupportedPlatform
  10. }