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

Method String

cmp/report_text.go:198–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196}
197
198func (s textList) String() string {
199 return (&textWrap{Prefix: "{", Value: s, Suffix: "}"}).String()
200}
201
202func (s textList) formatCompactTo(b []byte, d diffMode) ([]byte, textNode) {
203 s = append(textList(nil), s...) // Avoid mutating original

Callers

nothing calls this directly

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected