mirror of
https://github.com/vbatts/go-mtree.git
synced 2025-07-02 22:08:31 +00:00
xattr: simple wrapper for syscalls
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
ec1977017d
commit
2d3aea8623
3 changed files with 86 additions and 0 deletions
13
xattr/xattr_unsupported.go
Normal file
13
xattr/xattr_unsupported.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
// +build !linux
|
||||
|
||||
package xattr
|
||||
|
||||
func Get(path, name string) ([]byte, error) {
|
||||
return nil, nil
|
||||
}
|
||||
func Set(path, name string, value []byte) error {
|
||||
return nil
|
||||
}
|
||||
func List(path string) ([]string, error) {
|
||||
return nil, nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue