Fast implementation of Git in pure Go
codeberg.org/lindenii/furgit
git
go
1package commitquery
2
3import (
4 commitgraphread "codeberg.org/lindenii/furgit/format/commitgraph/read"
5 objectid "codeberg.org/lindenii/furgit/object/id"
6)
7
8// node stores one mutable commit traversal node.
9type node struct {
10 id objectid.ObjectID
11
12 parents []nodeIndex
13
14 commitTime int64
15 generation uint64
16
17 hasGeneration bool
18 hasGraphPos bool
19 loaded bool
20
21 graphPos commitgraphread.Position
22 marks markBits
23
24 touchedPhase uint32
25}