-
Notifications
You must be signed in to change notification settings - Fork 158
Format, fix, document, Etc 08/15 #402
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
base: master
Are you sure you want to change the base?
Conversation
82fbc28 to
7ac26a8
Compare
Satisfied clippy with `#[allow(unused_variables)]`. The default implementations may or may not use the variables, but that is not relevant to a reader who wants to understand the API; for that purpose, the underscores are merely a distraction.
7ac26a8 to
b0552f7
Compare
cberner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor comments
| ### Feature Gates | ||
|
|
||
| The crate uses feature gates to manage optional functionality and dependencies. Some key features include: | ||
| * **`abi-7-x`**: A set of features to select the FUSE protocol version. Recommended to select the highest version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should recommend selecting the lowest version that provides the features the user needs. Not the highest. Selecting the highest will limit compatibility
| A brief overview of Fuser concepts for new contributors. | ||
|
|
||
| * **`Session`**: The core struct which saves configuration options. Its provides methods to start and end event handling loops. | ||
| * **`Request`** and **`Reply`**: These structures represents one FUSE operation initiated by the Kernel. The Request methods handle unpacks this message, and directs it to the filesystem. The Reply methods packege the response and pass it back to the kernel. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: "packege[sic]" should be "package"
|
|
||
| ### Subdirectories | ||
|
|
||
| A bried overview of repository organization for new contributors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: "bried [sic]"
| A bried overview of repository organization for new contributors. | ||
|
|
||
| * **`src/mnt/`**: Code for establishing communication with the fuse device, which is called mounting. | ||
| * **`src/ll/`**: The low-level FUSE message interface. This module contains the raw FUSE ABI definitions and is responsible for the translating between Rust-based data structures and byte-based fuse kernel messages. It is not recommended for applications to use this code directly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not recommended for applications to use this code directly. remove this part. It's not possible for an application to use it, since it is private
Some additional documentation.
Removed the annoying underscores from
Filesystemmethod signatures.Previous PR in sequence was #401
Next PR in sequence was #404