Documentation
¶
Overview ¶
Package xattr provides support for extended attributes on linux, darwin and freebsd. Extended attributes are name:value pairs associated permanently with files and directories, similar to the environment strings associated with a process. An attribute may be defined or undefined. If it is defined, its value may be empty or non-empty. More details you can find here: https://en.wikipedia.org/wiki/Extended_file_attributes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶ added in v0.2.0
Get retrieves extended attribute data associated with path.
func List ¶ added in v0.2.0
List retrieves a list of names of extended attributes associated with the given path in the file system.
func Remove ¶ added in v0.2.0
Remove removes the attribute associated with the given path.
Types ¶
Source Files
¶
- xattr.go
- xattr_linux.go
Click to show internal directories.
Click to hide internal directories.