Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/google/go-cmp
/ WithDiffMode
Method
WithDiffMode
cmp/report_compare.go:56–59 ·
view source on GitHub ↗
(d diffMode)
Source
from the content-addressed store, hash-verified
54
}
55
56
func
(opts formatOptions) WithDiffMode(d diffMode) formatOptions {
57
opts.DiffMode = d
58
return
opts
59
}
60
func
(opts formatOptions) WithTypeMode(t typeMode) formatOptions {
61
opts.TypeMode = t
62
return
opts
Callers
1
formatDiffList
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected