run_make_support::fs

Function symlink_metadata

source
pub fn symlink_metadata<P: AsRef<Path>>(path: P) -> Metadata
Expand description

A wrapper around std::fs::symlink_metadata which includes the file path in the panic message. Note that this will not traverse symlinks and will return metadata about the filesystem entity itself. Use metadata if you want to traverse symlinks.

See std::fs::symlink_metadata docs for more details.