Documentation
¶
Index ¶
- func Add(worktree *git.Worktree, filename string) error
- func Checkout(worktree *git.Worktree, branch string) error
- func Commit(worktree *git.Worktree, message string) error
- func Fetch(ctx context.Context, repo *git.Repository, branch string) error
- func Push(ctx context.Context, repo *git.Repository, branch string) error
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func WithRepository ¶ added in v0.0.7
func WithRepository( ctx context.Context, token, owner, repositoryName string, ) (Repository, error)
func (Repository) WithBranch ¶
Click to show internal directories.
Click to hide internal directories.