Function xattr::list [] [src]

pub fn list<P>(path: P) -> Result<XAttrs> where P: AsRef<Path>

List extended attributes attached to the specified file.

Note: this may not list all attributes. Speficially, it definitely won't list any trusted attributes unless you are root and it may not list system attributes.