8000 feat: sync ipfs latest by Shawn-Huang-Tron · Pull Request #2 · TRON-US/go-path · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: sync ipfs latest #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

Merged
merged 54 commits into from
May 19, 2023
Merged

Conversation

Shawn-Huang-Tron
Copy link

No description provided.

aschmahmann and others added 30 commits December 3, 2020 20:26
fix: improved error message on broken CIDv0
* Use go-fetcher, unixfsnode, and ipld-prime to resolve paths. (ipfs#34)

* first pass

* Update resolver/resolver.go

Co-authored-by: Eric Myhre <hash@exultant.us>

* update dependencies to tagged versions

* correctly handles nested nodes within blocks

* return link from resolve path so we can fetch container block

* return expected NoSuchLink error

* more accurate errors

* feat(resolver): remove resolve once

remove ResolveOnce as it's no longer used and is just confusing

Co-authored-by: acruikshank <acruikshank@example.com>
Co-authored-by: Eric Myhre <hash@exultant.us>
Co-authored-by: hannahhoward <hannah@hannahhoward.net>

* fix(update to tagged branches): update to tagged branches and use node reifier

* fix(deps): update go-unixfsnode

* fix(deps): update to latest go fetcher (ipfs#37)

* feat(resolver): take fetcher config as parameter (ipfs#38)

* fix(deps): switch to tagged go-fetcher

* fix(resolver): removed ipldcbor dependency

* fix(mod): remove unneeded deps

* fix(resolver): correct comments

* test(resolver): add test verifying ErrNoLink functionality

* fix(lint): fix lint errors

resolve go vet and staticcheck issues. note we had to ignore two lines that use deprecated
behavior, but which replacing could have unintended effects

* fix(resolver): LookupBySegment to handle list indexes as well as map fields (ipfs#42)

* fix(resolver): LookupBySegment to handle list indexes as well as map fields

* Add test for /mixed/path/segment/types/1/2/3

* feat(resolver): address more PR comments

* style(tests): add clarification

* style(lint): fix lint errors, redo test fix

* fix(deps): update deps to tagged version

Co-authored-by: Alex Cruikshank <169613+acruikshank@users.noreply.github.com>
Co-authored-by: acruikshank <acruikshank@example.com>
Co-authored-by: Eric Myhre <hash@exultant.us>
Co-authored-by: Rod Vagg <rod@vagg.org>
…ievals to get around issues with shared IPLD ADL contexts
fix: give one minute timeouts to function calls instead of block retrievals
< 10000 div data-view-component="true" class="TimelineItem-body">
shushen and others added 24 commits February 9, 2022 22:07
chore: improve error message for invalid ipfs paths
This converts Resolver to an interface and leaves its implementation to the
BasicResolver type.

This should cause minimal distruption upstream (*Resolver -> Resolver) and
opens the door to swap the BasicResolver for custom Resolvers.
@laocheng-cheng laocheng-cheng merged commit aae2067 into TRON-US:master May 19, 2023
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.

0