gix_sec::identity

Function is_path_owned_by_current_user

source
pub fn is_path_owned_by_current_user(path: &Path) -> Result<bool>
Expand description

Returns true if the given path is owned by the user who is executing the current process.

Note that this method is very specific to avoid having to deal with any operating system types.