Skip to content
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

Feature: Mount Provider #12

Merged
merged 11 commits into from
Oct 27, 2022
Merged

Feature: Mount Provider #12

merged 11 commits into from
Oct 27, 2022

Conversation

infeo
Copy link
Member

@infeo infeo commented Oct 27, 2022

This PR adds a new SPI to the package: MountProvider

Mounting a filesystem into the the OS and make it accessible for other applications over the "OS way" is, well, an integration. Therefore we decided to shift this resposibility from API consumers to API implementors.

In a first step this API only fullfills the needs of FUSE implementors completely, an extension will follow soon (seperate PR).

The mount service consists of:

  • MountFeatures - Enum of features that the provider is capabable of;
  • MountProvider - SPI with the method forFilesystem(Path root), which creates a
  • MountBuilder - Builder to finally mount your filesystem into the OS. Calling mount() returns
  • Mount - Mounted, accessible filesytem in the OS. Most important method is unmount().

Note: This PR is for documentation. Review already done.

@infeo infeo added this to the 1.2.0 milestone Oct 27, 2022
@infeo infeo merged commit d01284f into develop Oct 27, 2022
@infeo infeo deleted the feature/mount-provider branch October 27, 2022 14:05
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