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

Method Get

plumbing/object/commitgraph/commitnode.go:43–43  ·  view source on GitHub ↗

Get returns a commit node from a commit hash

(hash plumbing.Hash)

Source from the content-addressed store, hash-verified

41type CommitNodeIndex interface {
42 // Get returns a commit node from a commit hash
43 Get(hash plumbing.Hash) (CommitNode, error)
44}
45
46// CommitNodeIter is a generic closable interface for iterating over commit nodes.

Callers 5

TestCommitNodeIterMethod · 0.65
testWalkerFunction · 0.65
testParentsFunction · 0.65
testCommitAndTreeFunction · 0.65
ParentNodeMethod · 0.65

Implementers 7

ObjectLRUplumbing/cache/object_lru.go
BufferLRUplumbing/cache/buffer_lru.go
Listplumbing/protocol/packp/capability/lis
mockSSHConfigplumbing/transport/ssh/common_test.go
graphCommitNodeIndexplumbing/object/commitgraph/commitnode
objectCommitNodeIndexplumbing/object/commitgraph/commitnode
Packfileplumbing/format/packfile/packfile.go

Calls

no outgoing calls

Tested by 4

TestCommitNodeIterMethod · 0.52
testWalkerFunction · 0.52
testParentsFunction · 0.52
testCommitAndTreeFunction · 0.52