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