MCPcopy
hub / github.com/cli/cli / Clone

Method Clone

pkg/cmd/extension/mocks.go:17–20  ·  view source on GitHub ↗
(cloneURL string, cloneArgs []string)

Source from the content-addressed store, hash-verified

15}
16
17func (g *mockGitClient) Clone(cloneURL string, cloneArgs []string) (string, error) {
18 args := g.Called(cloneURL, cloneArgs)
19 return args.String(0), args.Error(1)
20}
21
22func (g *mockGitClient) CommandOutput(commandArgs []string) ([]byte, error) {
23 args := g.Called(commandArgs)

Callers

nothing calls this directly

Calls 2

StringMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected