hfuse
hfuse copied to clipboard
Question
Maybe this is obvious, but what is the extra FilePath argument e.g. in fuseRead for?
The function gets an fh anyway, after all..
fuseRead, fuseFlush, fuseWrite and fuseRelease all take an extraneous FilePath argument, which follows the fuse api.. in the example passthru fs, read uses the extra filepath for opening the file if it wasn't already opened.. you could also use it for error reporting, whereas an fd is just a number, a path is human understandable