Documentation ¶
Index ¶
- 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
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repository ¶
type Repository struct {
Path string
}
Repository ...
func (*Repository) Export ¶
func (repo *Repository) Export(startVer, endVer string, filename string) error
func (*Repository) GetChangeFiles ¶
func (repo *Repository) GetChangeFiles(startVer, endVer string, onlyFile bool) ([]string, error)
func (*Repository) GetChangeLogs ¶
func (repo *Repository) GetChangeLogs(startVer, endVer string) ([]string, error)
func (*Repository) GetDiffFileCount ¶
func (repo *Repository) GetDiffFileCount(startVer, endVer string) (int, error)
func (*Repository) GetTags ¶
func (repo *Repository) GetTags() ([]string, error)
func (*Repository) Pull ¶
func (repo *Repository) Pull() error
Click to show internal directories.
Click to hide internal directories.