MCPcopy Index your code
hub / github.com/celer-pkg/celer / ExecuteOutputLive

Method ExecuteOutputLive

pkgs/cmd/exec.go:83–87  ·  view source on GitHub ↗

ExecuteOutputLive executes the command with live terminal output and returns its combined stdout/stderr as a string.

()

Source from the content-addressed store, hash-verified

81
82// ExecuteOutputLive executes the command with live terminal output and returns its combined stdout/stderr as a string.
83func (e *executor) ExecuteOutputLive() (string, error) {
84 var output fileio.LockedBuffer
85 err := e.executeWithRetry(outputCapture{output: &output})
86 return strings.TrimSpace(output.String()), err
87}
88
89// Execute runs the command with live terminal output and no returned output.
90func (e *executor) Execute() error {

Callers 8

CloneRepoFunction · 0.80
UpdateSubmodulesFunction · 0.80
UpdateRepoFunction · 0.80
CherryPickFunction · 0.80
RebaseFunction · 0.80
CleanFunction · 0.80
HardResetFunction · 0.80
ApplyPatchFunction · 0.80

Calls 2

executeWithRetryMethod · 0.95
StringMethod · 0.95

Tested by

no test coverage detected