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

Method print

cmp/internal/diff/debug_enable.go:117–123  ·  view source on GitHub ↗
(d time.Duration)

Source from the content-addressed store, hash-verified

115}
116
117func (dbg *debugger) print(d time.Duration) {
118 if ansiTerminal {
119 fmt.Printf("\x1b[%dA", dbg.lines) // Reset terminal cursor
120 }
121 fmt.Print(dbg)
122 time.Sleep(d)
123}

Callers 2

UpdateMethod · 0.95
FinishMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected