git

package
v0.0.0-...-3ee71c1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2014 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commit

type Commit struct {
	Checksum   string
	AuthorDate time.Time
	Message    string
}

type CommitOptions

type CommitOptions struct {
	Limit   int
	Pattern string
}

type Repository

type Repository struct {
	Origin    string
	LocalPath string
}

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)

func (*Repository) Tar

func (repo *Repository) Tar(revision string, w *tar.Writer) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL