Fast implementation of Git in pure Go
1package read
2
3import "codeberg.org/lindenii/furgit/objectid"
4
5// Reader provides read-only access to one mmap-backed commit-graph snapshot.
6//
7// It is safe for concurrent read-only queries.
8type Reader struct {
9 algo objectid.Algorithm
10 hashVersion uint8
11
12 layers []layer
13 total uint32
14}