[][src]Function fungus::sys::gid

pub fn gid<T: AsRef<Path>>(path: T) -> FuResult<u32>

Returns the group ID of the owner of this file. Handles path expansion.

Examples

use fungus::prelude::*;

assert_eq!(sys::gid("/etc").unwrap(), 0);