MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / RawStdout

Method RawStdout

internal/utils/exec/cmd.go:96–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94}
95
96func (this *Cmd) RawStdout() string {
97 if this.stdout != nil {
98 return this.stdout.String()
99 }
100 return ""
101}
102
103func (this *Cmd) Stdout() string {
104 return strings.TrimSpace(this.RawStdout())

Callers 2

StdoutMethod · 0.95
TestNewTimeoutCmd_Echo2Function · 0.80

Calls 1

StringMethod · 0.45

Tested by 1

TestNewTimeoutCmd_Echo2Function · 0.64