MCPcopy
hub / github.com/google/go-cmp / NumDiff

Method NumDiff

cmp/report_text.go:379–381  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

377}
378
379func (s diffStats) NumDiff() int {
380 return s.NumRemoved + s.NumInserted + s.NumModified
381}
382
383func (s diffStats) Append(ds diffStats) diffStats {
384 assert(s.Name == ds.Name)

Callers 4

formatDiffSliceMethod · 0.80
formatDiffListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected