We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.unwrap()
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
An .unwrap() in the PrivateFile implementation can panic, if the blockstore doesn't contain the blocks to read the file.
PrivateFile
We should just propagate out the result in this function:
rs-wnfs/wnfs/src/private/file.rs
Lines 387 to 400 in d77d335
There's TryStreamExt. It may have some functions to do this.
TryStreamExt
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Summary
An
.unwrap()
in thePrivateFile
implementation can panic, if the blockstore doesn't contain the blocks to read the file.Solution
We should just propagate out the result in this function:
rs-wnfs/wnfs/src/private/file.rs
Lines 387 to 400 in d77d335
There's
TryStreamExt
. It may have some functions to do this.The text was updated successfully, but these errors were encountered: