Versions in this module Expand all Collapse all v0 v0.0.3 Nov 21, 2025 Changes in this version type TestClient + func (c *TestClient) DiffRepos(ctx context.Context, repoDirs []string, cfg *client.DiffConfig) error + func (c *TestClient) LogRepos(ctx context.Context, repoDirs []string, ignoreEmtpy bool, args ...string) error v0.0.2 Sep 27, 2025 Changes in this version + type TestClient struct + CommandsCalled []string + func New() *TestClient + func (c *TestClient) Add(ctx context.Context, dirs []string, name, baseURL string) error + func (c *TestClient) AssertCommandsCalled(t *testing.T, expectedCommands ...string) + func (c *TestClient) AssertNoCommandsCalled(t *testing.T) + func (c *TestClient) Branches(ctx context.Context, repoDirs []string, args ...string) error + func (c *TestClient) CheckoutRepos(ctx context.Context, repoDirs []string, args ...string) error + func (c *TestClient) CloneRepos(ctx context.Context, baseDir string) ([]*client.Repository, error) + func (c *TestClient) GetDirs(ctx context.Context, dir string) ([]string, error) + func (c *TestClient) GetLogins(ctx context.Context) ([]string, error) + func (c *TestClient) GetRepos(ctx context.Context, name string) ([]*github.Repository, error) + func (c *TestClient) ListTags(ctx context.Context, repoDirs []string, args ...string) error + func (c *TestClient) PullRepos(ctx context.Context, repoDirs []string, args ...string) error + func (c *TestClient) PushRepos(ctx context.Context, repoDirs []string, args ...string) error + func (c *TestClient) Remotes(ctx context.Context, repoDirs []string, args ...string) error + func (c *TestClient) Remove(ctx context.Context, dirs []string, name string) error + func (c *TestClient) ResetCommandsCalled() + func (c *TestClient) SetURLs(ctx context.Context, repoDirs []string, name, baseURL string) error + func (c *TestClient) TagRepos(ctx context.Context, repoDirs []string, args ...string) error