-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add a WASI file system that grants access to IPFS #11
base: master
Are you sure you want to change the base?
Conversation
I've laid out the skeleton of every trait we will have to implement to be able to provide the file system. For the time being I am hopeful we'll be able to "forward" most of these calls to an underlying attribute, but I'm also cautiously aware that it will most likely be considerably more complicated than that... |
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.
Just a few fly-by comments about docstrings, in case early feedback is helpful. Feel free to ignore!
|
||
use net::ipfs::Client; | ||
|
||
pub struct IpfsFs { |
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.
Can we add a doc string to this type too?
self.consume_stream(stream).await | ||
} | ||
|
||
pub fn delete_me(&self) { |
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.
What's delete_me
? Is that some kind of destructor method?
No description provided.