Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
379
func
(s diffStats) NumDiff() int {
380
return
s.NumRemoved + s.NumInserted + s.NumModified
381
}
382
383
func
(s diffStats) Append(ds diffStats) diffStats {
384
assert(s.Name == ds.Name)
Callers
4
formatDiffSlice
Method · 0.80
coalesceInterveningIdentical
Function · 0.80
cleanupSurroundingIdentical
Function · 0.80
formatDiffList
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected