graphCommitNodeIndex is an index that can load CommitNode objects from both the commit graph files and the object store. graphCommitNodeIndex implements the CommitNodeIndex interface
| 30 | // |
| 31 | // graphCommitNodeIndex implements the CommitNodeIndex interface |
| 32 | type 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 |
nothing calls this directly
no outgoing calls
no test coverage detected