pub fn path_uid(path: impl AsRef<Path>) -> Result<u32, CoreError>Expand description
Return the owning UID for a filesystem path.
This performs a stat(2) call and returns the owner UID from the resulting
metadata. Missing files, permission errors, and invalid path bytes are
surfaced as CoreError.