mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-02-23 03:45:47 -05:00
chore: Remove FindReposMapByIDs
- Introduced in8ce1b539b1
and removed inbeb71f5ef6
.
This commit is contained in:
parent
a52b610eff
commit
7481624273
2 changed files with 0 additions and 6 deletions
|
@ -66,7 +66,6 @@ code.gitea.io/gitea/models/project
|
|||
|
||||
code.gitea.io/gitea/models/repo
|
||||
DeleteAttachmentsByIssue
|
||||
FindReposMapByIDs
|
||||
WatchRepoMode
|
||||
|
||||
code.gitea.io/gitea/models/user
|
||||
|
|
|
@ -21,11 +21,6 @@ import (
|
|||
"xorm.io/builder"
|
||||
)
|
||||
|
||||
// FindReposMapByIDs find repos as map
|
||||
func FindReposMapByIDs(ctx context.Context, repoIDs []int64, res map[int64]*Repository) error {
|
||||
return db.GetEngine(ctx).In("id", repoIDs).Find(&res)
|
||||
}
|
||||
|
||||
// RepositoryListDefaultPageSize is the default number of repositories
|
||||
// to load in memory when running administrative tasks on all (or almost
|
||||
// all) of them.
|
||||
|
|
Loading…
Add table
Reference in a new issue