You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2024/06/12 10:18:33 UTC
[PR] refactor(ofs): Split fuse3 impl into fuse3_opendal [opendal]
Xuanwo opened a new pull request, #4721:
URL: https://github.com/apache/opendal/pull/4721
Our users will be able to use:
```rust
pub async fn mount(
self,
mount_point: impl AsRef<Path>,
op: Operator,
) -> io::Result<MountHandle> {
let adapter = fuse3_opendal::Filesystem::new(
op,
self.uid.unwrap_or_else(|| nix::unistd::getuid().into()),
self.gid.unwrap_or_else(|| nix::unistd::getgid().into()),
);
Session::new(self.mount_options)
.mount(adapter, mount_point)
.await
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] refactor(ofs): Split fuse3 impl into fuse3_opendal [opendal]
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo merged PR #4721:
URL: https://github.com/apache/opendal/pull/4721
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org