Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func OpenRepo ¶
func OpenRepo(path string) (*Repository, error)
func (*Repository) Add ¶
func (r *Repository) Add() error
func (*Repository) Pull ¶
func (r *Repository) Pull() error
func (*Repository) Push ¶
func (r *Repository) Push(branch string) error
func (*Repository) Switch ¶
func (r *Repository) Switch(branch string) error
func (*Repository) SwitchOrCreate ¶
func (r *Repository) SwitchOrCreate(branch string) error
Click to show internal directories.
Click to hide internal directories.