MCPcopy Create free account
hub / github.com/google/go-cmp / String

Method String

cmp/options.go:100–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98}
99
100func (opts Options) String() string {
101 var ss []string
102 for _, opt := range opts {
103 ss = append(ss, fmt.Sprint(opt))
104 }
105 return fmt.Sprintf("Options{%s}", strings.Join(ss, ", "))
106}
107
108// FilterPath returns a new [Option] where opt is only evaluated if filter f
109// returns true for the current [Path] in the value tree.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected