MCPcopy Index your code
hub / github.com/go-git/go-git / graphCommitNodeIndex

Struct graphCommitNodeIndex

plumbing/object/commitgraph/commitnode_graph.go:32–35  ·  view source on GitHub ↗

graphCommitNodeIndex is an index that can load CommitNode objects from both the commit graph files and the object store. graphCommitNodeIndex implements the CommitNodeIndex interface

Source from the content-addressed store, hash-verified

30//
31// graphCommitNodeIndex implements the CommitNodeIndex interface
32type graphCommitNodeIndex struct {
33 commitGraph commitgraph.Index
34 s storer.EncodedObjectStorer
35}
36
37// NewGraphCommitNodeIndex returns CommitNodeIndex implementation that uses commit-graph
38// files as backing storage and falls back to object storage when necessary

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected