pub fn inspect_link(path: &Path) -> Result<Option<EntryInfo>>
Inspect a path without following its final symlink.
A missing path is represented by Ok(None).
Ok(None)
Returns a contextual error when metadata cannot be read.