Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit ea3a116

Browse files
hannahhowardacruikshankacruikshankwarpforkrvagg
authored
IPLD Prime In IPFS: Target Merge Branch (#36)
* Use go-fetcher, unixfsnode, and ipld-prime to resolve paths. (#34) * first pass * Update resolver/resolver.go Co-authored-by: Eric Myhre <[email protected]> * 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 <[email protected]> Co-authored-by: Eric Myhre <[email protected]> Co-authored-by: hannahhoward <[email protected]> * 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 (#37) * feat(resolver): take fetcher config as parameter (#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 (#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 <[email protected]> Co-authored-by: acruikshank <[email protected]> Co-authored-by: Eric Myhre <[email protected]> Co-authored-by: Rod Vagg <[email protected]>
1 parent a680d16 commit ea3a116

File tree

4 files changed

+919
-283
lines changed

4 files changed

+919
-283
lines changed

go.mod

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,15 @@ module github.com/ipfs/go-path
33
go 1.15
44

55
require (
6-
github.com/ipfs/go-cid v0.0.2
7-
github.com/ipfs/go-ipld-format v0.0.2
8-
github.com/ipfs/go-log v0.0.1
9-
github.com/ipfs/go-merkledag v0.0.6
6+
github.com/ipfs/go-block-format v0.0.3
7+
github.com/ipfs/go-cid v0.0.7
8+
github.com/ipfs/go-fetcher v1.4.0
9+
github.com/ipfs/go-ipld-format v0.2.0
10+
github.com/ipfs/go-log v1.0.4
11+
github.com/ipfs/go-merkledag v0.3.2
12+
github.com/ipfs/go-unixfsnode v1.1.2
13+
github.com/ipld/go-codec-dagpb v1.3.0
14+
github.com/ipld/go-ipld-prime v0.11.0
15+
github.com/multiformats/go-multihash v0.0.15
16+
github.com/stretchr/testify v1.7.0
1017
)

0 commit comments

Comments
 (0)