Skip to main content

inspect_link

Function inspect_link 

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

Inspect a path without following its final symlink.

A missing path is represented by Ok(None).

ยงErrors

Returns a contextual error when metadata cannot be read.