mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-16 12:44:55 +08:00
improved ssh supports
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user