[−][src]Function librapidarchive::fs::portable::get_unix_owner
pub fn get_unix_owner(
_metadata: &Metadata,
_path: &Path
) -> Result<(u32, String)>
Determine the UNIX owner ID and name for a given file.
Parameters
This function accepts two parameters, the metadata to be read and the path which generated the metadata.
Returns
If no errors occured, yields a tuple of the user's ID and name.
Platform considerations
This is the portable version of the function. It will always indicate that all files are owned by root.