Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/google/go-cmp
/ IsZero
Method
IsZero
cmp/report_text.go:374–377 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
372
}
373
374
func
(s diffStats) IsZero() bool {
375
s.Name =
""
376
return
s == diffStats{}
377
}
378
379
func
(s diffStats) NumDiff() int {
380
return
s.NumRemoved + s.NumInserted + s.NumModified
Callers
5
formatDiffSlice
Method · 0.95
formatDiffList
Method · 0.95
AppendEllipsis
Method · 0.80
FormatValue
Method · 0.80
areNonZeroTimes
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected