[][src]Function skellige::prelude::sys::uid

pub fn uid<T>(path: T) -> Result<u32, FuError> where
    T: AsRef<Path>, 

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

Examples

use fungus::prelude::*;

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