fungus::sys
pub fn gid<T: AsRef<Path>>(path: T) -> FuResult<u32>
Returns the group ID of the owner of this file. Handles path expansion.
use fungus::prelude::*; assert_eq!(sys::gid("/etc").unwrap(), 0);