streamly
streamly copied to clipboard
Use the Path type in the File module
- Copy File module to FileIO, remove the deprecated functions from FileIO.
- Change FilePath to Path in FileIO.
- Deprecate the old File module
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.
The CoreUtils example needs this issue to be resolved.