MCPcopy Create free account
hub / github.com/libgit2/git2go / Insertions

Method Insertions

diff.go:237–241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

235}
236
237func (stats *DiffStats) Insertions() int {
238 ret := int(C.git_diff_stats_insertions(stats.ptr))
239 runtime.KeepAlive(stats)
240 return ret
241}
242
243func (stats *DiffStats) Deletions() int {
244 ret := int(C.git_diff_stats_deletions(stats.ptr))

Callers 1

TestDiffTreeToTreeFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestDiffTreeToTreeFunction · 0.64