Versions in this module Expand all Collapse all v0 v0.0.8 Mar 9, 2022 Changes in this version + func CloneORPullRepo(url string, dst string) error + func CloneRepo(url string, dst string) (err error) + func CloneRepoBranch(branch string, url string, dst string) error + func GetTags(repoPath string, limit int) ([]string, error) + type Repository struct + Path string + func OpenRepository(repoPath string) (*Repository, error) + func (repo *Repository) Export(startVer, endVer string, filename string) error + func (repo *Repository) GetChangeFiles(startVer, endVer string, onlyFile bool) ([]string, error) + func (repo *Repository) GetChangeLogs(startVer, endVer string) ([]string, error) + func (repo *Repository) GetDiffFileCount(startVer, endVer string) (int, error) + func (repo *Repository) GetTags() ([]string, error) + func (repo *Repository) Pull() error + type SortTag struct + func (t *SortTag) Len() int + func (t *SortTag) Less(i, j int) bool + func (t *SortTag) Sort() []string + func (t *SortTag) Swap(i, j int)