graphCommitNode is a reduced representation of Commit as presented in the commit graph file (commitgraph.Node). It is merely useful as an optimization for walking the commit graphs. graphCommitNode implements the CommitNode interface.
| 16 | // |
| 17 | // graphCommitNode implements the CommitNode interface. |
| 18 | type graphCommitNode struct { |
| 19 | // Hash for the Commit object |
| 20 | hash plumbing.Hash |
| 21 | // Index of the node in the commit graph file |
| 22 | index uint32 |
| 23 | |
| 24 | commitData *commitgraph.CommitData |
| 25 | gci *graphCommitNodeIndex |
| 26 | } |
| 27 | |
| 28 | // graphCommitNodeIndex is an index that can load CommitNode objects from both the commit |
| 29 | // graph files and the object store. |
nothing calls this directly
no outgoing calls
no test coverage detected