ref: a902f6849d938a51fa34dc292f5c81d26c4b6c36
dir: /format/commitgraph/read/reader.go/
package read
import objectid "codeberg.org/lindenii/furgit/object/id"
// Reader provides read-only access to one mmap-backed commit-graph snapshot.
//
// It is safe for concurrent read-only queries.
// Values returned by Reader methods are only valid until the reader is closed
// when explicitly documented on that method.
type Reader struct {
algo objectid.Algorithm
hashVersion uint8
layers []layer
total uint32
}