Skip to content
callcount

gitea.dev/modules/git.Repository.GetCommit

third-party

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

All of gitea.dev/modules/git → Docs on pkg.go.dev ↗

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

Repository.GetCommit · 12 of 89 callsites
  • gitea.dev @v1.27.1

    modules/git/repo.go:44

    in loop
  • gitea.dev @v1.27.1

    services/repository/gitgraph/graph_models.go:105

    in loop
  • gitea.dev @v1.27.1

    services/repository/push.go:123

    in loop
  • gitea.dev @v1.27.1

    modules/git/commit_info_nogogit.go:129

    in loop
  • gitea.dev @v1.27.1

    models/migrations/v1_14/v156.go:130

    in loop
  • gitea.dev @v1.27.1

    services/agit/agit.go:149

    in loop
  • gitea.dev @v1.27.1

    services/repository/push.go:163

    in loop
  • gitea.dev @v1.27.1

    routers/web/repo/blame.go:197

    in loop
  • gitea.dev @v1.27.1

    services/asymkey/sign.go:203

    in loop
  • gitea.dev @v1.27.1

    services/asymkey/sign.go:256

    in loop
  • gitea.dev @v1.27.1

    modules/git/repo_commit.go:375

    in loop
  • gitea.dev @v1.27.1

    services/mirror/mirror_pull.go:380

    in loop

top callers

The modules that reach for it

The modules that call Repository.GetCommit most in this snapshot.

  • gitea.dev89100%

siblings

More from gitea.dev/modules/git

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