mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-31 21:28:11 +09:00
add repo list of dashboard
This commit is contained in:
@@ -223,6 +223,10 @@ func GetRepositories(user *User) ([]Repository, error) {
|
||||
return repos, err
|
||||
}
|
||||
|
||||
func GetRepositoryCount(user *User) (int64, error) {
|
||||
return orm.Count(&Repository{OwnerId: user.Id})
|
||||
}
|
||||
|
||||
func StarReposiory(user *User, repoName string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user