archive/tar.NewWriter
standard libraryThe 2287th most-called standard-library function by production calls. Called 607 times across 139 modules; 267 of those run outside tests and generated code.
- prod calls
- 267
- non-test, non-generated
- all calls
- 607
- total callsites
- modules
- 139
- distinct callers
- in loop
- 2%
- of prod calls
- in tests
- 56%
- 340 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 →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into NewWriter from notable Go projects. Open one on the map to see what else it hammers.
- containerd 17 6%
- Docker 14 5%
- Kubernetes 11 4%
- Helm 4 1%
- Istio 4 1%
where it's called
Callsites in the wild
12 representative callsites of 607, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
encr.dev @v1.57.13
pkg/dockerbuild/tarcopy.go:488
in loop - in loop
-
tektoncd/pipeline @v1.15.0
in loop - in loop
-
moby/moby @v28.5.2+incompatible
in loop test - in loop test
-
gitea.dev @v1.27.1
modules/packages/alpine/metadata_test.go:59
in loop test - in loop test
- in loop test
-
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
controller/artifact/processor/cnai/parser/util_test.go:47
in loop test -
helm/v4 @v4.2.3
pkg/chart/loader/archive/archive_test.go:81
in loop test
top callers
The modules that reach for it
The modules that call NewWriter most in this snapshot.
- github.com/hyperledger/fabric376%
- github.com/docker/docker295%
- github.com/moby/moby295%
- github.com/buildpacks/pack244%
- github.com/podman-container-tools/buildah234%
siblings
More from archive/tar
The other most-called functions in this package. See all →