Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTag ¶
func CreateTag(repo *Repository, name, message string) error
func PushToOrigin ¶ added in v0.4.1
func PushToOrigin(repo *Repository, auth AuthMethod) error
Types ¶
type AuthMethod ¶
type AuthMethod = transport.AuthMethod
type Commit ¶
func ListAllCommits ¶
func ListAllCommits(repo *Repository) ([]*Commit, error)
func ListCommitsFromTagToHead ¶
func ListCommitsFromTagToHead(repo *Repository, tag string, pathPrefix string) ([]*Commit, error)
type Hash ¶
func CreateCommit ¶
func CreateCommit(repo *Repository, message string) (Hash, error)
type Repository ¶
type Repository = git.Repository
func OpenRepository ¶
func OpenRepository(path string) (*Repository, error)
Click to show internal directories.
Click to hide internal directories.