bytedance / monoio

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

feat: unlink op, remove_file and remove_dir #288

Closed NKID00 closed 2 months ago

NKID00 commented 2 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.