MCPcopy Index your code
hub / github.com/jetify-com/devbox / clone

Function clone

internal/pullbox/git/git.go:33–38  ·  view source on GitHub ↗
(repo, dir string)

Source from the content-addressed store, hash-verified

31}
32
33func clone(repo, dir string) error {
34 cmd := cmdutil.CommandTTY("git", "clone", repo, dir)
35 cmd.Dir = dir
36 err := cmd.Run()
37 return errors.WithStack(err)
38}

Callers 1

CloneToTmpFunction · 0.85

Calls 2

CommandTTYFunction · 0.92
RunMethod · 0.65

Tested by

no test coverage detected