Skip to content
callcount

gitea.dev/modules/container.Set.Add

third-party

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

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

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

Set.Add · 12 of 110 callsites
  • gitea.dev @v1.27.1

    services/git/commit.go:27

    in loop
  • gitea.dev @v1.27.1

    modules/container/set.go:30

    in loop
  • gitea.dev @v1.27.1

    models/db/collation.go:38

    in loop
  • gitea.dev @v1.27.1

    models/gituser/gituser.go:41

    in loop
  • gitea.dev @v1.27.1

    models/gituser/gituser.go:42

    in loop
  • gitea.dev @v1.27.1

    services/pull/merge_squash.go:43

    in loop
  • gitea.dev @v1.27.1

    models/gituser/gituser.go:44

    in loop
  • gitea.dev @v1.27.1

    services/actions/job_emitter.go:49

    in loop
  • gitea.dev @v1.27.1

    models/db/collation.go:52

    in loop
  • gitea.dev @v1.27.1

    modules/public/public.go:59

    in loop
  • gitea.dev @v1.27.1

    modules/repository/branch.go:67

    in loop
  • gitea.dev @v1.27.1

    modules/indexer/issues/util.go:76

    in loop

top callers

The modules that reach for it

The modules that call Set.Add most in this snapshot.

  • gitea.dev110100%

siblings

More from gitea.dev/modules/container

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