Skip to content

Conversation

@rarensu
Copy link
Contributor

@rarensu rarensu commented Sep 16, 2025

Some additional documentation.
Removed the annoying underscores from Filesystem method signatures.

Previous PR in sequence was #401
Next PR in sequence was #404

@rarensu rarensu force-pushed the format-fix-document-etc-08/15 branch 3 times, most recently from 82fbc28 to 7ac26a8 Compare September 19, 2025 15:56
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.
@rarensu rarensu force-pushed the format-fix-document-etc-08/15 branch from 7ac26a8 to b0552f7 Compare September 22, 2025 15:36
Copy link
Owner

@cberner cberner left a 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.
Copy link
Owner

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.
Copy link
Owner

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.
Copy link
Owner

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.
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants