Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface {
Log(fromRev, toRev string) ([]Commit, error)
CommitLatestTagByTime() (*Commit, error)
CommitTagSearchByName(tagName string) (*Commit, error)
CommitTagSearchByFirstLine(firstLine string) (*Commit, error)
Commit(commitMessage string, paths ...string) error
TagLatestByCommitTime() (*object.Tag, error)
}
Repository is an abstraction for git-repository
func NewRepositoryByPath ¶ added in v1.3.0
func NewRepositoryByPath(path string) (Repository, error)
NewRepositoryByPath return Repository from path
func NewRepositoryClone ¶ added in v1.3.0
func NewRepositoryClone(s storage.Storer, worktree billy.Filesystem, o *goGit.CloneOptions) (Repository, error)
NewRepositoryClone return Repository from git.Repository
Click to show internal directories.
Click to hide internal directories.