Skip to content
callcount

gitea.dev/models/user.User.IsOrganization

third-party

The 4779th most-called third-party method by production calls. Called 126 times across 1 modules; 125 of those run outside tests and generated code.

No change in production calls since 2026-W37.

All of gitea.dev/models/user → Docs on pkg.go.dev ↗

prod calls
125
non-test, non-generated
all calls
126
total callsites
modules
1
distinct callers
in loop
2%
of prod calls
in tests
<1%
1 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 126, prioritizing in-loop and non-test usage. We link to source, never display it.

User.IsOrganization · 12 of 126 callsites
  • gitea.dev @v1.27.3

    routers/api/v1/api.go:273

    in loop
  • gitea.dev @v1.27.3

    routers/web/repo/pull_review.go:376

    in loop
  • gitea.dev @v1.27.3

    models/issues/issue_update.go:690

    in loop
  • gitea.dev @v1.27.3

    routers/web/org/mention.go:18

  • gitea.dev @v1.27.3

    services/user/email.go:21

  • gitea.dev @v1.27.3

    modules/repository/delete.go:24

  • gitea.dev @v1.27.3

    services/user/block.go:25

  • gitea.dev @v1.27.3

    routers/web/user/setting/oauth2_common.go:30

  • gitea.dev @v1.27.3

    routers/web/feed/profile.go:32

  • gitea.dev @v1.27.3

    services/mailer/mail_repo.go:33

  • gitea.dev @v1.27.3

    services/user/block.go:33

  • gitea.dev @v1.27.3

    routers/api/v1/repo/teams.go:40

top callers

The modules that reach for it

The modules that call User.IsOrganization most in this snapshot.

  • gitea.dev126100%

siblings

More from gitea.dev/models/user

The other most-called members in this package. See all →