Skip to main content

inspect

Function inspect 

Source
pub fn inspect(path: &Path) -> Result<Option<EntryInfo>>
Expand description

Inspect a path while following its final symlink.

A missing path is represented by Ok(None).

ยงErrors

Returns a contextual error when metadata cannot be read.