Skip to main content

create_dir_all

Function create_dir_all 

Source
pub fn create_dir_all(
    path: impl AsRef<Path>,
    cap: &impl Has<FsWrite>,
) -> Result<(), CapSecError>
Expand description

Creates all directories in the given path if they don’t exist. Requires FsWrite permission.