[go: up one dir, main page]

has_acl

Function has_acl 

Source
pub fn has_acl<P: AsRef<Path>>(file: P) -> bool
Expand description

Checks if a file has an Access Control List (ACL) based on its extended attributes.

§Arguments

  • file - A reference to the path of the file.

§Returns

true if the file has extended attributes (indicating an ACL), false otherwise.