MCPcopy
hub / github.com/jetify-com/devbox / Run

Method Run

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

Source from the content-addressed store, hash-verified

90}
91
92func (c *Cmd) Run(ctx context.Context) error {
93 defer c.logRunFunc(ctx)()
94
95 start := time.Now()
96 err := c.initExecCommand(ctx).Run()
97 c.dur = time.Since(start)
98
99 c.err = c.error(ctx, err)
100 return c.err
101}
102
103func (c *Cmd) LogValue() slog.Value {
104 attrs := []slog.Attr{

Callers 1

RunMethod · 0.95

Calls 4

logRunFuncMethod · 0.95
initExecCommandMethod · 0.95
errorMethod · 0.95
RunMethod · 0.65

Tested by

no test coverage detected