composewell / streamly

High performance, concurrent functional programming abstractions
https://streamly.composewell.com
Other
857 stars 64 forks source link

Use the Path type in the File module #2770

Open harendra-kumar opened 2 months ago

harendra-kumar commented 2 months ago
harendra-kumar commented 1 month ago

For openFile we can open an fd directly using the system call and use fdToHandle to convert it to Handle. We do a similar thing in the Linux fsevent module.