Documentation ¶
Index ¶
- Variables
- func Sync(ctx context.Context, clones *ClonedSet, r Remote) error
- type ClonedSet
- type Local
- func (l Local) Checkout(ctx context.Context, ref string) error
- func (l Local) CheckoutFirst(ctx context.Context, ref string, otherRefs ...string) error
- func (l Local) Command(ctx context.Context, cmdName string, args ...string) *exec.Cmd
- func (l Local) CurrentHash(ctx context.Context) (string, error)
- func (l Local) Fetch(ctx context.Context) error
- func (l Local) Reset(ctx context.Context) error
- func (l Local) Run(ctx context.Context, cmdName string, args ...string) error
- type Remote
- type Set
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDuplicateName = errors.New("duplicate repository name")
Functions ¶
Types ¶
type ClonedSet ¶
type ClonedSet struct {
// contains filtered or unexported fields
}
func NewClonedSet ¶
Click to show internal directories.
Click to hide internal directories.