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

Method Clone

pkg/cmd/extension/git.go:28–30  ·  view source on GitHub ↗
(cloneURL string, cloneArgs []string)

Source from the content-addressed store, hash-verified

26}
27
28func (g *gitExecuter) Clone(cloneURL string, cloneArgs []string) (string, error) {
29 return g.client.Clone(context.Background(), cloneURL, cloneArgs)
30}
31
32func (g *gitExecuter) CommandOutput(args []string) ([]byte, error) {
33 cmd, err := g.client.Command(context.Background(), args...)

Callers

nothing calls this directly

Calls 1

CloneMethod · 0.65

Tested by

no test coverage detected