Documentation ¶
Index ¶
- type Commit
- type CommitOptions
- type Logger
- type Repository
- func (repo *Repository) Archive(revision string, w io.Writer, files ...string) (int64, error)
- func (repo *Repository) Commits(options *CommitOptions) (commits []*Commit, e error)
- func (repo *Repository) DateOf(revision, file string) (time.Time, error)
- func (repo *Repository) Fetch() error
- func (repo *Repository) Init() error
- func (repo *Repository) MostRecentCommitFor(pattern string) (commit string, e error)
- func (repo *Repository) Name() string
- func (r *Repository) Printf(m string, args ...interface{})
- func (repo *Repository) Show(rev string) (*Commit, error)
- func (repo *Repository) WriteArchiveToTar(revision string, w *tar.Writer) (e error)
- func (repo *Repository) WriteFilesToTar(revision string, w *tar.Writer, files ...string) (e error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitOptions ¶
type Repository ¶
func (*Repository) Commits ¶
func (repo *Repository) Commits(options *CommitOptions) (commits []*Commit, e error)
func (*Repository) DateOf ¶
func (repo *Repository) DateOf(revision, file string) (time.Time, 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)
func (*Repository) Name ¶
func (repo *Repository) Name() string
func (*Repository) Printf ¶
func (r *Repository) Printf(m string, args ...interface{})
func (*Repository) WriteArchiveToTar ¶
func (repo *Repository) WriteArchiveToTar(revision string, w *tar.Writer) (e error)
Writes tgz archive to the given tar writer.
func (*Repository) WriteFilesToTar ¶
Click to show internal directories.
Click to hide internal directories.