MCPcopy
hub / github.com/go-git/go-git / objectCommitNode

Struct objectCommitNode

plumbing/object/commitgraph/commitnode_object.go:15–18  ·  view source on GitHub ↗

objectCommitNode is a representation of Commit as presented in the GIT object format. objectCommitNode implements the CommitNode interface.

Source from the content-addressed store, hash-verified

13//
14// objectCommitNode implements the CommitNode interface.
15type objectCommitNode struct {
16 nodeIndex CommitNodeIndex
17 commit *object.Commit
18}
19
20// NewObjectCommitNodeIndex returns CommitNodeIndex implementation that uses
21// only object storage to load the nodes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected