gitea.dev/models/repo.GetRepositoryByID
third-partyThe 4464th most-called third-party function by production calls. Called 144 times across 2 modules; 133 of those run outside tests and generated code.
- prod calls
- 133
- non-test, non-generated
- all calls
- 144
- total callsites
- modules
- 2
- distinct callers
- in loop
- 17%
- of prod calls
- in tests
- 8%
- 11 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Package function53%A direct call to an exported package function, resolved by type.
- Package function (by syntax)47%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into GetRepositoryByID from notable Go projects. Open one on the map to see what else it hammers.
- Gitea 63 47%
where it's called
Callsites in the wild
12 representative callsites of 144, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
gitea.dev @v1.27.1
services/repository/license.go:66
in loop -
go-gitea/gitea @v1.27.1
in loop -
gitea.dev @v1.27.1
services/org/user.go:68
in loop - in loop
-
gitea.dev @v1.27.1
routers/web/repo/fork.go:84
in loop - in loop
-
gitea.dev @v1.27.1
routers/web/shared/actions/scoped_workflows.go:129
in loop - in loop
-
gitea.dev @v1.27.1
routers/web/repo/fork.go:173
in loop - in loop
-
gitea.dev @v1.27.1
routers/web/repo/issue_view.go:178
in loop
top callers
The modules that reach for it
The modules that call GetRepositoryByID most in this snapshot.
- gitea.dev7653%
- github.com/go-gitea/gitea6847%
siblings
More from gitea.dev/models/repo
The other most-called functions in this package. See all →