Skip to content
callcount

gitea.dev/modules/git.Repository.Close

third-party

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

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

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

Repository.Close · 12 of 207 callsites
  • gitea.dev @v1.27.1

    services/repository/license.go:80

    in loop
  • gitea.dev @v1.27.1

    models/migrations/v1_14/v156.go:84

    in loop
  • gitea.dev @v1.27.1

    models/migrations/v1_9/v82.go:94

    in loop
  • gitea.dev @v1.27.1

    cmd/admin.go:146

    in loop
  • gitea.dev @v1.27.1

    cmd/admin.go:153

    in loop
  • gitea.dev @v1.27.1

    cmd/admin.go:159

    in loop
  • gitea.dev @v1.27.1

    models/migrations/v1_14/v156.go:168

    in loop
  • gitea.dev @v1.27.1

    services/pull/pull.go:953

    in loop
  • gitea.dev @v1.27.1

    routers/web/repo/view_readme_test.go:46

    in loop test
  • gitea.dev @v1.27.1

    tests/integration/api_repo_files_change_test.go:97

    in loop test
  • gitea.dev @v1.27.1

    tests/integration/api_repo_file_update_test.go:140

    in loop test
  • gitea.dev @v1.27.1

    tests/integration/api_repo_file_create_test.go:157

    in loop test

top callers

The modules that reach for it

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

  • gitea.dev207100%

siblings

More from gitea.dev/modules/git

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