MCPcopy Create free account
hub / github.com/cli/cli / runCloneCommand

Function runCloneCommand

pkg/cmd/repo/clone/clone_test.go:114–116  ·  view source on GitHub ↗
(httpClient *http.Client, cli string)

Source from the content-addressed store, hash-verified

112}
113
114func runCloneCommand(httpClient *http.Client, cli string) (*test.CmdOut, error) {
115 return runCloneCommandWithConfig(httpClient, config.NewMockConfig(), cli)
116}
117
118func runCloneCommandWithConfig(httpClient *http.Client, cfg gh.Config, cli string) (*test.CmdOut, error) {
119 ios, stdin, stdout, stderr := iostreams.Test()

Calls 2

NewMockConfigFunction · 0.92

Tested by

no test coverage detected