MCPcopy 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
134func (p *Patch) Stats() FileStats {
135 return getFileStatsFromFilePatches(p.FilePatches())
136}
137
138func (p *Patch) String() string {
139 buf := bytes.NewBuffer(nil)

Callers 5

TestStatsWithRenameMethod · 0.45
TestStatMethod · 0.45
TestStats_RootCommitMethod · 0.45

Calls 2

FilePatchesMethod · 0.95

Tested by 5

TestStatsWithRenameMethod · 0.36
TestStatMethod · 0.36
TestStats_RootCommitMethod · 0.36