tokio_fs_ext/fs/wasm/
create_dir.rs

1use std::{io, path::Path};
2
3use super::opfs::{OpenDirType, open_dir};
4
5pub async fn create_dir(path: impl AsRef<Path>) -> io::Result<()> {
6    open_dir(path, OpenDirType::Create).await?;
7    Ok(())
8}