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

Struct objectCommitNodeIndex

plumbing/object/commitgraph/commitnode_object.go:42–44  ·  view source on GitHub ↗

objectCommitNodeIndex is an index that can load CommitNode objects only from the object store. objectCommitNodeIndex implements the CommitNodeIndex interface

Source from the content-addressed store, hash-verified

40//
41// objectCommitNodeIndex implements the CommitNodeIndex interface
42type objectCommitNodeIndex struct {
43 s storer.EncodedObjectStorer
44}
45
46func (c *objectCommitNode) CommitTime() time.Time {
47 return c.commit.Committer.When

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected