tokio_fs_ext/fs/wasm/
create_dir_all.rs1use std::{io, path::Path};
2
3use super::opfs::{OpenDirType, open_dir};
4
5pub async fn create_dir_all(path: impl AsRef<Path>) -> io::Result<()> {
6 open_dir(path, OpenDirType::CreateRecursive).await?;
7 Ok(())
8}