xattr

Function set for working with file extended attributes.

Members

Static functions

getAttrs
string[] getAttrs(string path)

Reads list of all attributes.

getAttrsAndValues
string[string] getAttrsAndValues(string path)

Creates associative array with attribute names and attribute values.

read
string read(string path, string key)

Gets value of the required extended attribute.

remove
void remove(string path, string key)

Removes the requested attribute.

set
void set(string path, string key, string value)

Sets new value of the required extended attribute.

See Also

man xattr

Meta