MCPcopy
hub / github.com/Jguer/yay / Capture

Method Capture

pkg/settings/exe/cmd_builder.go:300–302  ·  view source on GitHub ↗
(cmd *exec.Cmd)

Source from the content-addressed store, hash-verified

298}
299
300func (c *CmdBuilder) Capture(cmd *exec.Cmd) (stdout, stderr string, err error) {
301 return c.Runner.Capture(cmd)
302}
303
304func (c *CmdBuilder) GetKeepSrc() bool {
305 return c.KeepSrc

Callers

nothing calls this directly

Calls 1

CaptureMethod · 0.65

Tested by

no test coverage detected