-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: docs #20
Comments
However, if you want to contribute some documentation it will be very welcomed. |
Are you currently using a doc generator anywhere? I think the easiest way would be to block-comment the methods in the .cc files. I'd be happy to start it when I have time, but need to know which specific format to follow |
We haven't chosen any, feel free to make it any suggestions. On Fri, Aug 14, 2015 at 2:52 PM Mark Kahn [email protected] wrote:
|
Got me, I haven't written C in ages :) |
you can look at the fuse.js file(https://github.com/c4milo/fusejs/blob/master/fuse.js) |
@thejinx0r -- Yeah, but the reply object isn't documented, nor what any of the actual objects are (context, attrs, etc etc). It makes it very difficult to work with right now since you have to either copy example code or run it just to log/inspect the arguments. |
When I started to use fusejs, these were the pages that I used: The function signatures should be the same. I'm not sure if I will document the C++ code for usage. |
Would you have any issues with examples using ES6? |
@thejinx0r I personally wouldn't have any issues, I would love us to start using ES6. |
@thejinx0r -- I'm not really suggesting documenting the C++ usage, just suggesting that the best place to document the functions might be from comments in the +1 ES6 (ES2015) And thanks! The sourceforge docs are pretty close to what I'm looking for. Do you know of anything specific that isn't a 1-1 mapping from those? e.g. |
Unrelated question (don't want to start a new issue for a simple question): Doesn't fuse have higher-level bindings that work with paths instead of inodes? Do you happen to know if it's 100% safe to unmount/remount and provide different inodes for the same paths? My thinking is that it would be seen as a new filesystem, so any existing references would be invalid, but I'm curious as to whether anything could keep old references and try to use them. |
@zyklus Yes, but it does block the event loop and you have to do acrobatics to make it work, the low level API is asynchronous out of the box. Please ask these questions in the Gitter chat instead. Let's keep the discussion focused on the docs only. |
Please, for the love of all things holy update the docs so that I don't have to go reading through .cc files or your gdrive implementation to figure out how this works!!!
Seriously, awesome work, thanks :) Docs would be nice though 😸
I think a great first step would be just the reply object.
The text was updated successfully, but these errors were encountered: