1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00
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())
}