Documentation ¶
Index ¶
- type Commit
- type CommitOptions
- type Repository
- func (repo *Repository) Checkout(revision string) error
- func (repo *Repository) Clean() error
- func (repo *Repository) Commits(options *CommitOptions) (commits []*Commit, e error)
- func (repo *Repository) Fetch() error
- func (repo *Repository) Init() error
- func (repo *Repository) MostRecentCommitFor(pattern string) (commit string, e error)
- func (repo *Repository) Tar(revision string, w *tar.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitOptions ¶
type Repository ¶
func (*Repository) Checkout ¶
func (repo *Repository) Checkout(revision string) error
func (*Repository) Clean ¶
func (repo *Repository) Clean() error
func (*Repository) Commits ¶
func (repo *Repository) Commits(options *CommitOptions) (commits []*Commit, e error)
func (*Repository) Fetch ¶
func (repo *Repository) Fetch() error
func (*Repository) Init ¶
func (repo *Repository) Init() error
func (*Repository) MostRecentCommitFor ¶
func (repo *Repository) MostRecentCommitFor(pattern string) (commit string, e error)
Click to show internal directories.
Click to hide internal directories.