mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-11-26 01:55:39 +00:00
Merge pull request #103 from vbatts/xattr_lint
xattr: the unsupported features weren't linted
This commit is contained in:
commit
0b88377e28
1 changed files with 8 additions and 0 deletions
|
@ -2,12 +2,20 @@
|
||||||
|
|
||||||
package xattr
|
package xattr
|
||||||
|
|
||||||
|
// Get would return the extended attributes, but this unsupported feature
|
||||||
|
// returns nil, nil
|
||||||
func Get(path, name string) ([]byte, error) {
|
func Get(path, name string) ([]byte, error) {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set would set the extended attributes, but this unsupported feature returns
|
||||||
|
// nil
|
||||||
func Set(path, name string, value []byte) error {
|
func Set(path, name string, value []byte) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// List would return the keys of extended attributes, but this unsupported
|
||||||
|
// feature returns nil, nil
|
||||||
func List(path string) ([]string, error) {
|
func List(path string) ([]string, error) {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue