mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00: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