Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/go-git/go-git
/ Stats
Method
Stats
plumbing/object/patch.go:134–136 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
132
}
133
134
func
(p *Patch) Stats() FileStats {
135
return
getFileStatsFromFilePatches(p.FilePatches())
136
}
137
138
func
(p *Patch) String() string {
139
buf := bytes.NewBuffer(nil)
Callers
5
TestCommitAmendWithChanges
Method · 0.45
TestStatsWithRename
Method · 0.45
TestStat
Method · 0.45
TestStats_RootCommit
Method · 0.45
TestStats_WithoutNewLine
Method · 0.45
Calls
2
FilePatches
Method · 0.95
getFileStatsFromFilePatches
Function · 0.85
Tested by
5
TestCommitAmendWithChanges
Method · 0.36
TestStatsWithRename
Method · 0.36
TestStat
Method · 0.36
TestStats_RootCommit
Method · 0.36
TestStats_WithoutNewLine
Method · 0.36