mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-10 10:44:06 +09: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