MCPcopy
hub / github.com/jesseduffield/lazygit / NewShell

Function NewShell

pkg/integration/components/shell.go:30–32  ·  view source on GitHub ↗
(dir string, env []string, fail func(string))

Source from the content-addressed store, hash-verified

28}
29
30func NewShell(dir string, env []string, fail func(string)) *Shell {
31 return &Shell{dir: dir, env: env, fail: fail}
32}
33
34func (self *Shell) RunCommand(args []string) *Shell {
35 return self.RunCommandWithEnv(args, []string{})

Callers 2

RunMethod · 0.85
createFixtureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected