Documentation
¶
Index ¶
- type Client
- func (c Client) InitRepo(ctx context.Context, path string) error
- func (c Client) IsDirty(ctx context.Context, repoRoot string) (bool, error)
- func (c Client) IsPathTracked(ctx context.Context, repoRoot, path string) (bool, error)
- func (c Client) IsRepo(ctx context.Context, path string) (bool, error)
- func (c Client) LastCommitInfo(ctx context.Context, repoRoot, path string) (ports.CommitInfo, error)
- func (c Client) Pull(ctx context.Context, repoRoot string) error
- func (c Client) Push(ctx context.Context, repoRoot string) error
- func (c Client) TopLevel(ctx context.Context, path string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Runner executil.Runner
}
func (Client) IsPathTracked ¶
func (Client) LastCommitInfo ¶
Click to show internal directories.
Click to hide internal directories.