Function xattr::list

source · []
pub fn list<P>(path: P) -> Result<XAttrs> where
    P: AsRef<Path>, 
Expand description

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.