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

Method Copy

git/client.go:64–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64func (c *Client) Copy() *Client {
65 return &Client{
66 GhPath: c.GhPath,
67 RepoDir: c.RepoDir,
68 GitPath: c.GitPath,
69 Stderr: c.Stderr,
70 Stdin: c.Stdin,
71 Stdout: c.Stdout,
72 }
73}
74
75func (c *Client) Command(ctx context.Context, args ...string) (*Command, error) {
76 if c.RepoDir != "" {

Callers 15

writeZipFunction · 0.45
writeTarGzipFunction · 0.45
copyConfigTreeFunction · 0.45
serveGitHTTPMethod · 0.45
copyGitTreeFunction · 0.45
fakeGHFunction · 0.45
CopyFileMethod · 0.45
UpsertDimensionsMethod · 0.45
UpsertMeasuresMethod · 0.45
NewServiceFunction · 0.45
FinishMethod · 0.45

Calls

no outgoing calls

Tested by 2

fakeGHFunction · 0.36
Test_RepoMilestonesFunction · 0.36