archive/tar.Writer.WriteHeader
standard libraryThe 1696th most-called standard-library method by production calls. Called 763 times across 145 modules; 390 of those run outside tests and generated code.
No change in production calls since 2026-W48.
- prod calls
- 390
- non-test, non-generated
- all calls
- 763
- total callsites
- modules
- 145
- distinct callers
- in loop
- 29%
- of prod calls
- in tests
- 49%
- 373 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 Writer.WriteHeader from notable Go projects. Open one on the map to see what else it hammers.
- containerd 41 11%
- Kubernetes 33 8%
- Docker 18 5%
- Grafana 7 2%
- Nomad 6 2%
where it's called
Callsites in the wild
12 representative callsites of 763, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
-
docker/distribution @v2.8.3+incompatible
in loop - in loop
-
gitea.dev @v1.27.3
modules/test/utils.go:136
in loop -
AdaLogics/go-fuzz-headers @v0.0.0-20240806141605-e8a1dd7889d6
in loop - in loop
- in loop
- in loop
- in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call Writer.WriteHeader most in this snapshot.
- github.com/podman-container-tools/buildah355%
- github.com/moby/buildkit284%
- helm.sh/helm/v4243%
- github.com/buildpacks/imgutil233%
- github.com/google/go-containerregistry233%
siblings
More from archive/tar
The other most-called members in this package. See all →