Skip to content
callcount

gitea.dev/modules/git/gitcmd.Command.WithDir

third-party

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

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

prod calls
125
non-test, non-generated
all calls
197
total callsites
modules
1
distinct callers
in loop
6%
of prod calls
in tests
37%
72 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 197, prioritizing in-loop and non-test usage. We link to source, never display it.

Command.WithDir · 12 of 197 callsites
  • gitea.dev @v1.27.1

    modules/git/submodule.go:52

    in loop
  • gitea.dev @v1.27.1

    models/migrations/v1_12/v134.go:82

    in loop
  • gitea.dev @v1.27.1

    models/migrations/v1_12/v128.go:86

    in loop
  • gitea.dev @v1.27.1

    models/migrations/v1_12/v128.go:89

    in loop
  • gitea.dev @v1.27.1

    models/migrations/v1_12/v128.go:96

    in loop
  • gitea.dev @v1.27.1

    models/migrations/v1_12/v134.go:97

    in loop
  • gitea.dev @v1.27.1

    models/migrations/v1_12/v128.go:110

    in loop
  • gitea.dev @v1.27.1

    modules/git/repo_commit.go:183

    in loop
  • gitea.dev @v1.27.1

    routers/web/repo/view_readme_test.go:39

    in loop test
  • gitea.dev @v1.27.1

    routers/web/repo/view_readme_test.go:41

    in loop test
  • gitea.dev @v1.27.1

    tests/integration/manual_merge_test.go:79

    in loop test
  • gitea.dev @v1.27.1

    modules/gitrepo/command.go:13

top callers

The modules that reach for it

The modules that call Command.WithDir most in this snapshot.

  • gitea.dev197100%

siblings

More from gitea.dev/modules/git/gitcmd

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