mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-03-12 00:12:37 +01: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
|
code.gitea.io/gitea/models/repo
|
||||||
DeleteAttachmentsByIssue
|
DeleteAttachmentsByIssue
|
||||||
FindReposMapByIDs
|
|
||||||
WatchRepoMode
|
WatchRepoMode
|
||||||
|
|
||||||
code.gitea.io/gitea/models/user
|
code.gitea.io/gitea/models/user
|
||||||
|
|
|
@ -21,11 +21,6 @@ import (
|
||||||
"xorm.io/builder"
|
"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
|
// RepositoryListDefaultPageSize is the default number of repositories
|
||||||
// to load in memory when running administrative tasks on all (or almost
|
// to load in memory when running administrative tasks on all (or almost
|
||||||
// all) of them.
|
// all) of them.
|
||||||
|
|
Loading…
Add table
Reference in a new issue