Skip to content
callcount

gitea.dev/models/perm/access.Permission.CanRead

third-party

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

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

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

Permission.CanRead · 12 of 78 callsites
  • gitea.dev @v1.27.1

    services/context/permission.go:116

    in loop
  • gitea.dev @v1.27.1

    services/feed/feed.go:142

    in loop
  • gitea.dev @v1.27.1

    services/feed/feed.go:143

    in loop
  • gitea.dev @v1.27.1

    services/feed/feed.go:144

    in loop
  • gitea.dev @v1.27.1

    models/perm/access/repo_permission.go:166

    in loop
  • gitea.dev @v1.27.1

    models/perm/access/repo_permission.go:342

    in loop
  • gitea.dev @v1.27.1

    routers/web/repo/issue_view.go:796

    in loop
  • gitea.dev @v1.27.1

    routers/web/repo/issue_suggestions.go:19

  • gitea.dev @v1.27.1

    routers/web/repo/issue_suggestions.go:20

  • gitea.dev @v1.27.1

    services/repository/merge_upstream.go:38

  • gitea.dev @v1.27.1

    routers/web/repo/common_recentbranches.go:44

  • gitea.dev @v1.27.1

    services/markup/renderhelper_codepreview.go:49

top callers

The modules that reach for it

The modules that call Permission.CanRead most in this snapshot.

  • gitea.dev78100%

siblings

More from gitea.dev/models/perm/access

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