Function tauri_wasm::plugin::fs::create_dir_all
source · pub async fn create_dir_all(dir: &Path, base_dir: BaseDirectory) -> Result<()>Expand description
Creates a directory recursively.
§Example
use tauri_wasm::plugin::fs;
fs::create_dir_all(dir, BaseDirectory::Download).expect("could not create directory");Requires plugins > fs > createDir to be enabled.