Skip to content

fix(ipld): update ipld deps, only slurp LargeBytesNode when matching #433

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

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Aug 17, 2023

Specifically this targets the new bytes range selector adjustments/fixes in go-ipld-prime. And, for trustless gateway traversals we're using matchers to identify exactly what we want to load, and for byte ranges we match a node that only reads bytes in the blocks of the range we care about. io.Copy(io.Discard, r) on non-matches is going to encounter the parent node of a file we're exploring to.

@rvagg rvagg requested a review from hannahhoward August 17, 2023 08:05
@rvagg rvagg force-pushed the rvagg/ipld-and-traversal-updates branch 3 times, most recently from 64b1abc to dccb6c2 Compare August 17, 2023 09:48
@rvagg rvagg force-pushed the rvagg/ipld-and-traversal-updates branch from dccb6c2 to 3e57fa9 Compare August 29, 2023 08:34
@rvagg rvagg merged commit 94b2566 into main Aug 29, 2023
@rvagg rvagg deleted the rvagg/ipld-and-traversal-updates branch August 29, 2023 22:11
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