Nice to meet you.
I'm studying this package by writing an "identity" filesystem whose callbacks just calls corresponding system calls.
I've stumbled upon implementing fuseSynchronizeFile, whose type is FuseOperations fh -> FilePath -> SyncType -> IO Errno. I believe it is supposed to implement fsync(2), which takes a file descriptor. However I can't implement it because it doesn't take fh as a parameter like fuseRead and fuseWrite do.
I think fuseSynchronizeFile should have a type FuseOperations fh -> FilePath -> fh -> SyncType -> IO Errno. I'm ready to write a PR.
Nice to meet you.
I'm studying this package by writing an "identity" filesystem whose callbacks just calls corresponding system calls.
I've stumbled upon implementing
fuseSynchronizeFile, whose type isFuseOperations fh -> FilePath -> SyncType -> IO Errno. I believe it is supposed to implementfsync(2), which takes a file descriptor. However I can't implement it because it doesn't takefhas a parameter likefuseReadandfuseWritedo.I think
fuseSynchronizeFileshould have a typeFuseOperations fh -> FilePath -> fh -> SyncType -> IO Errno. I'm ready to write a PR.