os.RemoveAll
standard libraryThe 307th most-called standard-library function by production calls. Called 10,509 times across 559 modules; 3,006 of those run outside tests and generated code.
- prod calls
- 3,006
- non-test, non-generated
- all calls
- 10,509
- total callsites
- modules
- 559
- distinct callers
- in loop
- 13%
- of prod calls
- in tests
- 71%
- 7,503 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 RemoveAll from notable Go projects. Open one on the map to see what else it hammers.
- containerd 190 6%
- Docker 176 6%
- Kubernetes 123 4%
- Grafana 86 3%
- Argo 49 2%
where it's called
Callsites in the wild
12 representative callsites of 10,509, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
go/storage @v1.64.0
transfermanager/downloader.go:145
in loop -
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
- in loop
-
docker/docker @v28.5.2+incompatible
in loop -
encr.dev @v1.57.13
cli/daemon/export/download.go:75
in loop - in loop
- in loop
-
gitea.dev @v1.27.1
modules/util/remove.go:48
in loop
top callers
The modules that reach for it
The modules that call RemoveAll most in this snapshot.
- github.com/hashicorp/consul5455%
- github.com/kubernetes/kubernetes4735%
- k8s.io/kubernetes3814%
- github.com/drakkan/sftpgo2663%
- github.com/influxdata/influxdb2412%
siblings
More from os
The other most-called functions in this package. See all →