Function cap_primitives::fs::remove_file
source · pub fn remove_file(start: &File, path: &Path) -> Result<()>
Expand description
Perform a remove_fileat
-like operation, ensuring that the resolution of
the path never escapes the directory tree rooted at start
.