cap_primitives::fs

Function create_dir

Source
pub fn create_dir(start: &File, path: &Path, options: &DirOptions) -> Result<()>
Expand description

Perform a mkdirat-like operation, ensuring that the resolution of the path never escapes the directory tree rooted at start.