[−][src]Function tokio_xattr::get
pub async fn get<P, N>(path: P, name: N) -> Result<Option<Vec<u8>>> where
P: AsRef<Path>,
N: AsRef<OsStr>,
Get an extended attribute for the specified file.
Examples
let val = tokio_xattr::get(".", "user.myattr1").await?;