2014-02-21 09:12:25 +00:00
|
|
|
// +build !linux
|
|
|
|
|
|
|
|
package system
|
|
|
|
|
2015-07-28 16:13:12 +00:00
|
|
|
// Lgetxattr is not supported on platforms other than linux.
|
2014-02-21 09:12:25 +00:00
|
|
|
func Lgetxattr(path string, attr string) ([]byte, error) {
|
|
|
|
return nil, ErrNotSupportedPlatform
|
|
|
|
}
|
|
|
|
|
2015-07-28 16:13:12 +00:00
|
|
|
// Lsetxattr is not supported on platforms other than linux.
|
2014-02-21 09:12:25 +00:00
|
|
|
func Lsetxattr(path string, attr string, data []byte, flags int) error {
|
|
|
|
return ErrNotSupportedPlatform
|
|
|
|
}
|