This commit is contained in:
Unknwon 2016-01-15 18:00:39 +08:00
parent dccfadf7b8
commit c631a4a9b9
4 changed files with 27 additions and 9 deletions

View file

@ -123,6 +123,10 @@ func (a *Action) ShortRepoName() string {
}
func (a *Action) GetRepoPath() string {
return path.Join(a.RepoUserName, a.RepoName)
}
func (a *Action) ShortRepoPath() string {
return path.Join(a.ShortRepoUserName(), a.ShortRepoName())
}