Skip to content
callcount

gitea.dev/models/user.User.IsOrganization

third-party

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

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

prod calls
124
non-test, non-generated
all calls
125
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 125, prioritizing in-loop and non-test usage. We link to source, never display it.

User.IsOrganization · 12 of 125 callsites
  • gitea.dev @v1.27.1

    routers/api/v1/api.go:273

    in loop
  • gitea.dev @v1.27.1

    routers/web/repo/pull_review.go:376

    in loop
  • gitea.dev @v1.27.1

    models/issues/issue_update.go:690

    in loop
  • gitea.dev @v1.27.1

    routers/web/org/mention.go:18

  • gitea.dev @v1.27.1

    services/user/email.go:21

  • gitea.dev @v1.27.1

    modules/repository/delete.go:24

  • gitea.dev @v1.27.1

    services/user/block.go:25

  • gitea.dev @v1.27.1

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

  • gitea.dev @v1.27.1

    routers/web/feed/profile.go:32

  • gitea.dev @v1.27.1

    services/user/block.go:33

  • gitea.dev @v1.27.1

    services/mailer/mail_repo.go:33

  • gitea.dev @v1.27.1

    services/user/user.go:40

top callers

The modules that reach for it

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

  • gitea.dev125100%

siblings

More from gitea.dev/models/user

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