-
Notifications
You must be signed in to change notification settings - Fork 2
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
mount: support IPFS' MFS #14
Comments
Preliminary support for this was added in caa06f5 of a development branch (j/ipfs-fs-extensions). In that branch, our mounting utility will look in an IPFS node's Files API root, for a directory named
|
Draft
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have an old implementation of this here that was written before Go's
fs.FS
interface.This needs to be updated for UFS 1.5 and since we're no longer directly within
go-ipfs
, we'll need to update it to use the client APIs.Last time I checked, the API does not allow overwriting the root node like we could do before. I think we'll also have to do synchronization manually (instead of being able to pass in a callback that's triggered on modifications).
With these limitations, I'm thinking about just creating a
mount
subdirectory within the MFS root, and treating that as our mutable root instead of the actual root (since we can't tell the IPFS node to replace it as-is). Maybe allowing this to be changed with parameters so that users can mount arbitrary directories within the MFS root.The text was updated successfully, but these errors were encountered: