mirror of
https://github.com/go-gitea/gitea
synced 2025-07-10 04:27:22 +00: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