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

Method String

cmp/internal/diff/debug_enable.go:109–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107}
108
109func (dbg *debugger) String() string {
110 dbg.p1, dbg.p2 = *dbg.fwdPath, dbg.p2[:0]
111 for i := len(*dbg.revPath) - 1; i >= 0; i-- {
112 dbg.p2 = append(dbg.p2, (*dbg.revPath)[i])
113 }
114 return fmt.Sprintf("%s[%v|%v]\n\n", dbg.grid, dbg.p1, dbg.p2)
115}
116
117func (dbg *debugger) print(d time.Duration) {
118 if ansiTerminal {

Callers 1

BeginMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected