pub fn remove_entry(path: &Path, _meta: &Metadata) -> Result<()>Expand description
Remove one filesystem entry, choosing the syscall a symlink actually needs.
meta must come from symlink_metadata (lstat), never metadata (stat)
— the caller needs to know about the entry itself, not whatever it points
to, or every symlink looks identical to its target and this can never
tell a directory symlink from a real directory.