MCPcopy Create free account
hub / github.com/driusan/dgit / GetHeadCommit

Method GetHeadCommit

git/client.go:539–554  ·  view source on GitHub ↗

Gets the Commit of the current HEAD as a string.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 13

RevertFunction · 0.80
ShowRefFunction · 0.80
RevParseTreeishFunction · 0.80
RevParseCommitishFunction · 0.80
StatusBranchFunction · 0.80
StatusLongFunction · 0.80
StatusShortFunction · 0.80
DiffFunction · 0.80
ResetFunction · 0.80
MergeFunction · 0.80
CheckoutCommitFunction · 0.80
TagCommitFunction · 0.80

Calls 7

SymbolicRefGetFunction · 0.85
CommitIDFromStringFunction · 0.85
ReadFirstLineMethod · 0.80
BranchTypeAlias · 0.70
StringMethod · 0.65
CommitIDMethod · 0.65
FileMethod · 0.45

Tested by

no test coverage detected