MCPcopy
hub / github.com/cli/cli / CommandOutput

Method CommandOutput

pkg/cmd/extension/mocks.go:22–25  ·  view source on GitHub ↗
(commandArgs []string)

Source from the content-addressed store, hash-verified

20}
21
22func (g *mockGitClient) CommandOutput(commandArgs []string) ([]byte, error) {
23 args := g.Called(commandArgs)
24 return []byte(args.String(0)), args.Error(1)
25}
26
27func (g *mockGitClient) Config(name string) (string, error) {
28 args := g.Called(name)

Callers

nothing calls this directly

Calls 2

StringMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected