improved ssh supports
This commit is contained in:
parent
fee3bd0a93
commit
104aa23a9e
3 changed files with 6 additions and 6 deletions
|
@ -34,7 +34,7 @@ func IsRepositoryExist(user *User, reposName string) (bool, error) {
|
|||
if err != nil {
|
||||
return has, err
|
||||
}
|
||||
s, err := os.Stat(filepath.Join(RepoRootPath, user.Name, reposName))
|
||||
s, err := os.Stat(RepoPath(user.Name, reposName))
|
||||
if err != nil {
|
||||
return false, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue