lsetxattr

Function lsetxattr 

Source
pub fn lsetxattr<P, S, B>(
    path: P,
    name: S,
    value: B,
    flags: Flags,
) -> Result<()>
where P: AsRef<Path>, S: AsRef<OsStr>, B: AsRef<[u8]>,
Expand description

Sets the value of the extended attribute identified by name and associated with the given path in the filesystem. If path is a symbolic link, the extended attribute is set on the link itself.

For more information, see lsetxattr(2)