unixfs: decouple the DAG traversal logic from the DAG reader
Decouple the DAG traversal logic from the `PBDagReader` encapsulating it in the
(new) `Walker` structure.
Collapse PB and Buffer DAG readers into one (`dagReader`) removing the
`bufdagreader.go` and `pbdagreader.go` files, moving all the code to
`dagreader.go`.
Remove `TestSeekAndReadLarge` and `TestReadAndCancel` which operated directly on
the `NodePromise` structure that is now abstracted away in `NavigableIPLDNode`,
in the `go-ipld-format` repo, where they should be recreated.
License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
Showing
io/bufdagreader.go
deleted
100644 → 0
io/pbdagreader.go
deleted
100644 → 0
Please register or sign in to comment