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

Method String

cmp/options.go:141–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139}
140
141func (f pathFilter) String() string {
142 return fmt.Sprintf("FilterPath(%s, %v)", function.NameOf(reflect.ValueOf(f.fnc)), f.opt)
143}
144
145// FilterValues returns a new [Option] where opt is only evaluated if filter f,
146// which is a function of the form "func(T, T) bool", returns true for the

Callers

nothing calls this directly

Calls 1

NameOfFunction · 0.92

Tested by

no test coverage detected