MCPcopy Create free account
hub / github.com/google/gapid / In

Method In

core/os/shell/command.go:74–77  ·  view source on GitHub ↗

In returns a copy of the Cmd with the Dir set to dir.

(dir string)

Source from the content-addressed store, hash-verified

72
73// In returns a copy of the Cmd with the Dir set to dir.
74func (cmd Cmd) In(dir string) Cmd {
75 cmd.Dir = dir
76 return cmd
77}
78
79// Capture returns a copy of the Cmd with Stdout and Stderr set.
80func (cmd Cmd) Capture(stdout, stderr io.Writer) Cmd {

Callers 11

runWithStdinMethod · 0.80
TestCommandBadDirFunction · 0.80
GetConnectedDeviceFunction · 0.80
StartOnDeviceFunction · 0.80
RegisterMethod · 0.80
checkMethodFunction · 0.80
printFuncFunction · 0.80
MessageMethod · 0.80
runJavaServerFunction · 0.80
checkSignatureFunction · 0.80
foreachMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestCommandBadDirFunction · 0.64