os.Rename
standard libraryThe 624th most-called standard-library function by production calls. Called 1,573 times across 341 modules; 1,179 of those run outside tests and generated code.
- prod calls
- 1,179
- non-test, non-generated
- all calls
- 1,573
- total callsites
- modules
- 341
- distinct callers
- in loop
- 15%
- of prod calls
- in tests
- 25%
- 394 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 Rename from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 64 5%
- containerd 51 4%
- Docker 46 4%
- Grafana 18 2%
- InfluxDB 18 2%
where it's called
Callsites in the wild
12 representative callsites of 1,573, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
miekg/dns @v0.6.90
cmd/atomdns/handlers/url/refetch.go:65
in loop -
hashicorp/consul @v1.22.7
in loop - in loop
-
moby/moby @v28.5.2+incompatible
in loop -
etcd-io/etcd @v2.3.8+incompatible
in loop - in loop
-
gitea.dev @v1.27.1
modules/util/remove.go:77
in loop - in loop
-
GoogleCloudPlatform/terraformer @v0.0.0-20260316201050-1807affdde9e
in loop -
IBM-Cloud/bluemix-go @v0.0.0-20260624064701-576d2f801297
in loop
top callers
The modules that reach for it
The modules that call Rename most in this snapshot.
- github.com/esengine/DeepSeek-Reasonix634%
- github.com/weaviate/weaviate564%
- github.com/kubernetes/kubernetes403%
- k8s.io/kubernetes322%
- github.com/gastownhall/gastown302%
siblings
More from os
The other most-called functions in this package. See all →