-
Notifications
You must be signed in to change notification settings - Fork 17
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
Implement CAR CID iterator and supplier #10
Conversation
Codecov Report
@@ Coverage Diff @@
## main #10 +/- ##
==========================================
+ Coverage 60.05% 62.02% +1.97%
==========================================
Files 9 12 +3
Lines 393 553 +160
==========================================
+ Hits 236 343 +107
- Misses 119 158 +39
- Partials 38 52 +14
Continue to review full report at Codecov.
|
9b98e4c
to
a985872
Compare
this appears to be fully within the |
My rationale is to keep it internal until it's iterated over and baked in. Then expose as public API as needed. Happy to move now if you think that makes things clearer. |
a985872
to
08d4a5e
Compare
5878492
to
fad4928
Compare
fad4928
to
077ff12
Compare
Implements mechanisms to list the CIDs given a CAR path, regardless of the CAR's version. The mechanism allows paths to be put and removed, and supplies CID iterators given a CAR ID. Implement mechanism to generate CID IDs for a CAR file, regardless of its version. Implement a CID iterator reader that given a CID iterator and a marshaller converts it into a stream of bytes as an `io.ReadCloser`. Implement tests using sample CAR files in versions 1 and 2. Run `gofumpt -l -w .` across the whole repo for consistent formatting. Leave TODOs on undecided or improvable implementations to contain the PR scope. Increase test timeout flaky engine tests.
077ff12
to
5abea20
Compare
Implements mechanisms to list the CIDs given a CAR path, regardless of
the CAR's version. The mechanism allows paths to be put and removed, and
supplies CID iterators given a CAR ID.
Implement mechanism to generate CID IDs for a CAR file, regardless of
its version.
Implement a CID iterator reader that given a CID iterator and a
marshaller converts it into a stream of bytes as an
io.ReadCloser
.Implement tests using sample CAR files in versions 1 and 2.
Run
gofumpt -l -w .
across the whole repo for consistent formatting.Leave TODOs on undecided or improvable implementations to contain the PR
scope.
Increase test timeout in flaky engine tests.