From 1f7a3d3784e1a4b0ef76ab956adc6b9db948590b Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Wed, 7 Dec 2016 20:07:59 -0500 Subject: [PATCH] xattr: the unsupported features weren't linted Signed-off-by: Vincent Batts --- xattr/xattr_unsupported.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xattr/xattr_unsupported.go b/xattr/xattr_unsupported.go index abf617d..2ceda58 100644 --- a/xattr/xattr_unsupported.go +++ b/xattr/xattr_unsupported.go @@ -2,12 +2,20 @@ 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 }