Skip to content
callcount

gitea.dev/models/issues.PullRequest.GetGitHeadRefName

third-party

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

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

prod calls
64
non-test, non-generated
all calls
78
total callsites
modules
1
distinct callers
in loop
14%
of prod calls
in tests
18%
14 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.

PullRequest.GetGitHeadRefName · 12 of 78 callsites
  • gitea.dev @v1.27.1

    services/agit/agit.go:195

    in loop
  • gitea.dev @v1.27.1

    services/agit/agit.go:212

    in loop
  • gitea.dev @v1.27.1

    services/agit/agit.go:294

    in loop
  • gitea.dev @v1.27.1

    services/convert/pull.go:388

    in loop
  • gitea.dev @v1.27.1

    services/convert/pull.go:449

    in loop
  • gitea.dev @v1.27.1

    services/convert/pull.go:455

    in loop
  • gitea.dev @v1.27.1

    services/convert/pull.go:457

    in loop
  • gitea.dev @v1.27.1

    services/migrations/gitea_uploader.go:889

    in loop
  • gitea.dev @v1.27.1

    services/migrations/gitea_uploader.go:891

    in loop
  • gitea.dev @v1.27.1

    services/pull/patch.go:39

  • gitea.dev @v1.27.1

    services/automergequeue/automergequeue.go:43

  • gitea.dev @v1.27.1

    services/pull/update.go:44

top callers

The modules that reach for it

The modules that call PullRequest.GetGitHeadRefName most in this snapshot.

  • gitea.dev78100%

siblings

More from gitea.dev/models/issues

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