tokio-fs-ext 0.0.9

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

use crate::fs::opfs::rm;

pub async fn remove_file(path: impl AsRef<Path>) -> io::Result<()> {
    rm(path, false).await
}