Documentation
¶
Index ¶
- func Clone(ctx context.Context, stderr io.Writer, args ...string) error
- type Repo
- func (r *Repo) Add(ctx context.Context, args ...string) error
- func (r *Repo) Commit(ctx context.Context, message string) error
- func (r *Repo) Pull(ctx context.Context) error
- func (r *Repo) Push(ctx context.Context) error
- func (r *Repo) Rebase(ctx context.Context) error
- func (r *Repo) Remove(ctx context.Context, args ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repo ¶
type Repo struct {
Stderr io.Writer // destination for git subprocess stderr; defaults to io.Discard
// contains filtered or unexported fields
}
Repo represents a local git repository.
Click to show internal directories.
Click to hide internal directories.