Documentation
¶
Overview ¶
Package sweep holds the inputs a sweep plans from, as ports: the workspace snapshot, the turn books, the round state and the local checkouts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalGit ¶
type LocalGit interface {
Status(ctx context.Context, dir string) (GitFacts, error)
Head(ctx context.Context, dir string) (string, error)
// Upstream is the remote branch the checkout's branch tracks; "" when none.
Upstream(ctx context.Context, dir string) (string, error)
IsAncestor(ctx context.Context, dir, ancestor, commit string) (bool, error)
}
LocalGit reads the local checkouts.
Click to show internal directories.
Click to hide internal directories.