MCPcopy
hub / github.com/google/go-cmp / String

Method String

cmp/path.go:296–296  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

294func (ta TypeAssertion) Type() reflect.Type { return ta.typ }
295func (ta TypeAssertion) Values() (vx, vy reflect.Value) { return ta.vx, ta.vy }
296func (ta TypeAssertion) String() string { return fmt.Sprintf(".(%v)", value.TypeString(ta.typ, false)) }
297
298// Transform is a [PathStep] that represents a transformation
299// from the parent type to the current type.

Callers

nothing calls this directly

Calls 1

TypeStringFunction · 0.92

Tested by

no test coverage detected