[][src]Function librapidarchive::fs::portable::get_unix_group

pub fn get_unix_group(
    _metadata: &Metadata,
    _path: &Path
) -> Result<(u32, String)>

Determine the UNIX group 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 group's ID and name.

Platform considerations

This is the portable version of the function. It will always indicate that all files are owned by the root group. (Some systems call this 'wheel'.)