MCPcopy Index your code
hub / github.com/jetify-com/devbox / CombinedOutput

Method CombinedOutput

nix/command.go:70–79  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

68}
69
70func (c *Cmd) CombinedOutput(ctx context.Context) ([]byte, error) {
71 defer c.logRunFunc(ctx)()
72
73 start := time.Now()
74 out, err := c.initExecCommand(ctx).CombinedOutput()
75 c.dur = time.Since(start)
76
77 c.err = c.error(ctx, err)
78 return out, c.err
79}
80
81func (c *Cmd) Output(ctx context.Context) ([]byte, error) {
82 defer c.logRunFunc(ctx)()

Callers 6

restartDaemonFunction · 0.80
ProfileInstallFunction · 0.80
EvalFunction · 0.80
cloneAndReadMethod · 0.80
setupLocalGitRepoFunction · 0.80

Calls 3

logRunFuncMethod · 0.95
initExecCommandMethod · 0.95
errorMethod · 0.95

Tested by 2

setupLocalGitRepoFunction · 0.64