[][src]Function cap_primitives::fs::stat

pub fn stat(
    start: &File,
    path: &Path,
    follow: FollowSymlinks
) -> Result<Metadata>

Perform an fstatat-like operation, ensuring that the resolution of the path never escapes the directory tree rooted at start.