Skip to main content

entry_exists

Function entry_exists 

Source
fn entry_exists(p: &Path) -> Result<bool>
Expand description

Whether anything is at the path: a file, a directory, or a symlink whether or not its target exists. Path::exists follows the link and would call a dangling one absent, and the rename would then replace the administrator’s link with a file.