async-fs icon indicating copy to clipboard operation
async-fs copied to clipboard

Async filesystem primitives

Results 5 async-fs issues
Sort by recently updated
recently updated
newest added

`unix::DirBuilderExt`, `unix::DirEntryExt`, `unix::OpenOptionsExt`, and `windows::OpenOptionsExt` are not intended to be implemented by users, and they should be [sealed](https://rust-lang.github.io/api-guidelines/future-proofing.html#sealed-traits-protect-against-downstream-implementations-c-sealed). Note that this is a breaking change. (However, given the standard library...

[Unix `FileExt`](https://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileExt.html) and [Windows `FileExt`](https://doc.rust-lang.org/nightly/std/os/windows/fs/trait.FileExt.html). They are useful when using `.read_at(buf, offset)` instead of `.seek(pos); .read(buf)`. Because it calls `pread(2)` instead of `lseek(2)` + `read(2)` which is more efficient.

I just found an unexpected use case that would be worthwhile documenting here, and in `blocking`. As best as I can tell, if a user does: ```rust let mut file...

Would there be interest in adding support for Web through the [File System API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API)? It would be pretty straightforward, as it's all natively async anyway and there would be no...

For Windows there is file completion (for some operations, we'd have to fall back to `blocking` for others), for Linux there is `io_uring` and for BSD there is `aio`. It...