MCPcopy
hub / github.com/cli/cli / Copy

Method Copy

git/client.go:64–75  ·  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 commandContext: c.commandContext,
74 }
75}
76
77func (c *Client) Command(ctx context.Context, args ...string) (*Command, error) {
78 if c.RepoDir != "" {

Callers 9

newServiceFunction · 0.45
NewServiceFunction · 0.45
FlushMethod · 0.45
SpawnSendTelemetryFunction · 0.45
extractZipFileFunction · 0.45
getLatestReleaseInfoFunction · 0.45
ForwardPortToListenerMethod · 0.45
Test_RepoMilestonesFunction · 0.45

Calls

no outgoing calls

Tested by 2

newServiceFunction · 0.36
Test_RepoMilestonesFunction · 0.36