-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
P3Low: Not priority right nowLow: Not priority right now
Description
The term "Section" is used to describe the repeated <varint><cid><block> format that collectively make up the Data portion of a CAR file.
Use terminology consistent with docs in code to avoid confusion.
Example inconsistent terminology, where the term "block" is used to refer to a "Section":
go-car/v2/blockstore/readonly.go
Lines 184 to 187 in c4b9dc8
| func (b *ReadOnly) readBlock(idx int64) (cid.Cid, []byte, error) { | |
| bcid, data, err := util.ReadNode(internalio.NewOffsetReadSeeker(b.backing, idx), b.opts.ZeroLengthSectionAsEOF) | |
| return bcid, data, err | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3Low: Not priority right nowLow: Not priority right now