tokio-fs-ext 0.1.3

Extend tokio fs to be compatible with native and wasm
Documentation
1
2
3
4
5
6
7
8
use std::{io, path::Path};

use crate::fs::opfs::open_dir;

pub async fn create_dir_all(path: impl AsRef<Path>) -> io::Result<()> {
    open_dir(path, super::opfs::OpenDirType::CreateRecursive).await?;
    Ok(())
}