bytedance / monoio

Rust async runtime based on io-uring.
Apache License 2.0
4.03k stars 226 forks source link

feat: unlink op, remove_file and remove_dir #288

Closed NKID00 closed 3 months ago

NKID00 commented 3 months ago

This PR adds Unlink op, remove_file and remove_dir functions and tests. They are implemented for unix only.

remove_dir_all is not implemented because getdents64 is not supported by io_uring and there's currently no way to list nested files and directories with io_uring.