MCPcopy Create free account
hub / github.com/cli/cli / String

Method String

script/ghmock/terminal.go:99–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97}
98
99func (o *terminalOutput) String() string {
100 o.mu.Lock()
101 defer o.mu.Unlock()
102 return o.buffer.String()
103}
104
105// waitFor waits until gh exits, the context ends or ready returns true. It
106// reports whether gh exited, storing cmd.Wait's error in waitErr.

Callers 1

runInTerminalFunction · 0.95

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected