hfuse
hfuse copied to clipboard
Add file/directory handle parameters to FuseOperation
Resolves #11
This PR adds a file handle parameter and directory handle parameters to FuseOperation. This is a API-breaking change.
Summary
- Added parameter
fhtofuseSynchronizeFile - Added type variable
dhtoFuseOperations - Added return value
dhtofuseOpenDirectory - Added parameter
dhtofuseReadDirectory,fuseReleaseDirectoryandfuseSynchronizeDirectory
dh would correspond to DirStream, which is a Haskell representation of DIR *.
I've integrated this branch into my project and it works great. There doesn't seem to be a function in the posix package which can be used to implement fuseDirectorySyncronise, however, but that's not important for this PR.