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

Method ReadFirstLine

git/file.go:150–165  ·  view source on GitHub ↗

Reads the first line of File. (This is primarily to extract commit message lines for reflogs)

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

verifyHeadFunction · 0.80
GetHeadCommitMethod · 0.80

Calls 4

ExistsMethod · 0.95
StringMethod · 0.95
CloseMethod · 0.65
OpenMethod · 0.45

Tested by

no test coverage detected