Skip to content

Commit 1f462d7

Browse files
committed
fix: remove duplicate import
1 parent e28b844 commit 1f462d7

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

traversal/traversal.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import (
1515
_ "github.com/ipld/go-ipld-prime/codec/dagjson"
1616
_ "github.com/ipld/go-ipld-prime/codec/json"
1717
_ "github.com/ipld/go-ipld-prime/codec/raw"
18-
"github.com/ipld/go-ipld-prime/traversal"
1918

2019
blocks "github.com/ipfs/go-block-format"
2120
"github.com/ipfs/go-cid"
@@ -224,9 +223,9 @@ func (cfg Config) Traverse(
224223

225224
progress.LastBlock.Link = cidlink.Link{Cid: cfg.Root}
226225
var lastPath datamodel.Path
227-
visitor := func(p traversal.Progress, n datamodel.Node, vr traversal.VisitReason) error {
226+
visitor := func(p ipldtraversal.Progress, n datamodel.Node, vr ipldtraversal.VisitReason) error {
228227
lastPath = p.Path
229-
if vr == traversal.VisitReason_SelectionMatch {
228+
if vr == ipldtraversal.VisitReason_SelectionMatch {
230229
return unixfsnode.BytesConsumingMatcher(p, n)
231230
}
232231
return nil

0 commit comments

Comments
 (0)