mafintosh/fuse-bindings

easy callback parameters question

sam0x17 opened this issue · 4 comments

In a bunch of scenarios I am unsure whether to do cb(fuse.ERRORCODE) or cb(-1, fuse.ERRORCODE). For example in rename, I am unsure which to do. Is there a general rule of thumb to follow here?

as far as my understanding of the code it's written as cb(fuse.ERRORCODE or 0,somevalue)

ok that's what I thought just wanted to double check

been working on other things but will get back to this eventually