gitea.dev/modules/optional.Option.Has
third-partyThe 4524th most-called third-party method by production calls. Called 154 times across 1 modules; 136 of those run outside tests and generated code.
No change in production calls since 2026-W39.
- prod calls
- 136
- non-test, non-generated
- all calls
- 154
- total callsites
- modules
- 1
- distinct callers
- in loop
- 6%
- of prod calls
- in tests
- 12%
- 18 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 →
- Concrete method100%A method on a value whose type is known exactly.
where it's called
Callsites in the wild
12 representative callsites of 154, prioritizing in-loop and non-test usage. We link to source, never display it.
-
gitea.dev @v1.27.3
modules/git/parse_treeentry.go:38
in loop -
gitea.dev @v1.27.3
modules/git/languagestats/language_stats_nogogit.go:132
in loop -
gitea.dev @v1.27.3
modules/git/languagestats/language_stats_nogogit.go:134
in loop -
gitea.dev @v1.27.3
modules/git/languagestats/language_stats_nogogit.go:135
in loop -
gitea.dev @v1.27.3
modules/git/languagestats/language_stats_nogogit.go:166
in loop -
gitea.dev @v1.27.3
services/gitdiff/gitdiff.go:1357
in loop -
gitea.dev @v1.27.3
services/gitdiff/gitdiff.go:1368
in loop -
gitea.dev @v1.27.3
services/gitdiff/gitdiff.go:1373
in loop -
gitea.dev @v1.27.3
models/repo/repo_list_test.go:415
in loop test -
gitea.dev @v1.27.3
models/repo/repo_list_test.go:419
in loop test -
gitea.dev @v1.27.3
models/repo/repo_list_test.go:425
in loop test -
gitea.dev @v1.27.3
modules/optional/serialization.go:22
top callers
The modules that reach for it
The modules that call Option.Has most in this snapshot.
- gitea.dev154100%
siblings
More from gitea.dev/modules/optional
The other most-called members in this package. See all →