Documentation ¶
Overview ¶
Package xattr provides a simple interface to user extended attributes on Linux and OSX. Support for xattrs is filesystem dependant, so not a given even if you are running one of those operating systems.
On Linux you have to edit /etc/fstab to include "user_xattr". Also, Linux extended attributes have a manditory prefix of "user.". This is prepended transparently for Get/Set/Remove and hidden in List.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotExist ¶
Returns whether the error is known to report that a extended attribute does not exist.
Types ¶
type XAttrError ¶
XAttrError records an error and the operation, file path and attribute that caused it.
func (*XAttrError) Error ¶
func (e *XAttrError) Error() string
Click to show internal directories.
Click to hide internal directories.