blob: ab68f31c3a65e536ceb1bcab04d11df38ae1b4f6 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package read
import "codeberg.org/lindenii/furgit/objectid"
// 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
}
|