Function ext2::xattr::dump_xattrs

source ·
pub fn dump_xattrs(path: &Path) -> Result<Vec<(Vec<u8>, Vec<u8>)>>
Expand description

Retrieves the list of pairs of a name and a value of the extended attribute of the given path. If path is a symbolic link, it won’t be followed and the value of the symlink itself is returned. The return values are byte arrays WITHOUT trailing NULL byte.