tokio-fs-ext 0.7.7

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

pub async fn read_link(_path: impl AsRef<Path>) -> io::Result<PathBuf> {
    Err(io::Error::new(
        io::ErrorKind::Unsupported,
        "Symbolic links are not supported on OPFS",
    ))
}