diff options
Diffstat (limited to 'models/action.go')
-rw-r--r-- | models/action.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/models/action.go b/models/action.go index 4e5f461a36..33d5246ee5 100644 --- a/models/action.go +++ b/models/action.go @@ -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()) } |