os.Remove
standard libraryThe 212th most-called standard-library function by production calls. Called 10,636 times across 736 modules; 4,660 of those run outside tests and generated code.
- prod calls
- 4,660
- non-test, non-generated
- all calls
- 10,636
- total callsites
- modules
- 736
- distinct callers
- in loop
- 17%
- of prod calls
- in tests
- 56%
- 5,976 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 Remove from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 302 6%
- containerd 107 2%
- Docker 90 2%
- Grafana 81 2%
- HashiCorp 63 1%
where it's called
Callsites in the wild
12 representative callsites of 10,636, prioritizing in-loop and non-test usage. We link to source, never display it.
-
argoproj/pkg @v0.13.6
in loop -
CCTV/age @v0.0.0-20260605191406-1e3d2860d46e
internal/generate.go:27
in loop - in loop
- in loop
-
go/storage @v1.64.0
transfermanager/downloader.go:128
in loop -
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
miekg/dns @v0.6.90
cmd/atomdns/handlers/url/refetch.go:63
in loop -
hashicorp/consul @v1.22.7
in loop - in loop
- in loop
-
dgraph-io/badger/v4 @v4.9.6
in loop - in loop
top callers
The modules that reach for it
The modules that call Remove most in this snapshot.
- github.com/kubernetes/kubernetes2663%
- github.com/drakkan/sftpgo2402%
- github.com/esengine/DeepSeek-Reasonix1862%
- github.com/photoprism/photoprism1862%
- github.com/aliyun/aliyun-oss-go-sdk1812%
siblings
More from os
The other most-called functions in this package. See all →