Skip to content

gateway: update backend car traversal to use go-car/v2 #925

@gammazero

Description

@gammazero

Gateway backend CAR traversal is using go-car v1. This pulls in deprecated dependencies. The code should be modified to use go-car/v2 to perform the equivalent functionality.

Specifically car.NewCarReaderWithOptions and car.WithErrorOnEmptyRoots are no longer supported.

This may require the go-car/v2 NewReader to accept io.Reader instead of io.ReaderAt. Or, the gateway CAR traversal will need to read the CAR data into t file first.

Metadata

Metadata

Assignees

Labels

need/triageNeeds initial labeling and prioritization

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions