()
| 62 | } |
| 63 | |
| 64 | func (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 | |
| 77 | func (c *Client) Command(ctx context.Context, args ...string) (*Command, error) { |
| 78 | if c.RepoDir != "" { |
no outgoing calls