Skip to content
callcount

os.Root.Close

standard library

The 6044th most-called standard-library method by production calls. Called 125 times across 23 modules; 98 of those run outside tests and generated code.

All of os → Docs on pkg.go.dev ↗

prod calls
98
non-test, non-generated
all calls
125
total callsites
modules
23
distinct callers
in loop
2%
of prod calls
in tests
22%
27 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 method98%A method on a value whose type is known exactly.
  • Embedded method2%Reached through an embedded type.

who calls this

Notable callers

Production calls into Root.Close from notable Go projects. Open one on the map to see what else it hammers.

where it's called

Callsites in the wild

12 representative callsites of 125, prioritizing in-loop and non-test usage. We link to source, never display it.

top callers

The modules that reach for it

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

  • github.com/moby/buildkit2520%
  • github.com/esengine/DeepSeek-Reasonix2419%
  • github.com/fission/fission1714%
  • github.com/pinchtab/pinchtab1411%
  • github.com/containerd/containerd/v297%

siblings

More from os

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