Skip to main content

create_replacing_leaf

Function create_replacing_leaf 

Source
pub fn create_replacing_leaf(path: &Path) -> Result<File, Error>
Expand description

Unlink any file or symlink at path, then create a fresh regular file there without following symlinks. The parent must already be verified.