tokio-rs / tokio-uring

An io_uring backed runtime for Rust
MIT License
1.11k stars 117 forks source link

Add `fs::symlink` function #308

Closed daniel-levin closed 1 month ago

daniel-levin commented 2 months ago

Hello there! I am a happy user of tokio and I am quite excited about what io_uring can bring to the space.

This change adds the symlink function to tokio-uring, with the identical signature and documentation as in tokio itself. I added one unit test. I'm merrily doing blocking I/O inside the async block in the unit test, which I think should be fine because it's just a test.

evanrittenhouse commented 1 month ago

This LGTM (cc @Noah-Kennedy)

Noah-Kennedy commented 1 month ago

@daniel-levin I've merged your change regardless of CI, as those failures are unrelated to this change and need to be fixed independently of this.