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

Async std::os::unix::fs::FileExt read_at/write_at

Open Xorlev opened this issue 5 years ago • 2 comments

Hi folks,

I was curious whether async-std would be interested in an async port of std::os::unix::fs::FileExt. I'm writing a service right now that'd benefit from such a thing -- currently I've been doing it myself by using std::os::unix::fs::FileExt::read_at with spawn_blocking, but it'd be neat to be included in async-std.

If there's interest in this, I could try my hand at a PR.

Xorlev avatar Nov 22 '19 00:11 Xorlev

Yes! :) We haven't quite finished the async_std::os module. A PR with FileExt would be very welcome!

ghost avatar Nov 22 '19 00:11 ghost

I want to try my hand here. Organizationally, does this get added to src/os/windows/fs.rs and src/os/unix/fs.rs?

vlovich avatar Jan 30 '21 00:01 vlovich