Function virtual_filesystem::util::create_dir_all

source ·
pub fn create_dir_all<FS: FileSystem + ?Sized>(
    fs: &FS,
    path: &str
) -> Result<()>
Expand description

Creates all directories by iteratively creating parent directories. Returns an error if the operation fails for any reason other than AlreadyExists.

§Arguments

fs: The filesystem.
path: The path of the directory to create.