os.ReadFile
standard libraryThe 125th most-called standard-library function by production calls. Called 19,219 times across 722 modules; 8,113 of those run outside tests and generated code.
0% in production calls vs 2026-W39 (8,089 → 8,113)
- prod calls
- 8,113
- non-test, non-generated
- all calls
- 19,219
- total callsites
- modules
- 722
- distinct callers
- in loop
- 12%
- of prod calls
- in tests
- 58%
- 11,097 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 ReadFile from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 600 7%
- Istio 212 3%
- Docker 195 2%
- containerd 142 2%
- Tailscale 140 2%
where it's called
Callsites in the wild
12 representative callsites of 19,219, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
cilium/coverbee @v0.3.2
in loop - in loop
-
miekg/dns @v0.6.117
cmd/atomdns/internal/generate/handler.go:39
in loop -
hashicorp/consul @v1.22.7
in loop - in loop
-
dgraph-io/dgraph/v24 @v24.1.9
in loop -
docker/cli @v29.8.1+incompatible
in loop -
encr.dev @v1.58.6
pkg/make-release/js_packager.go:105
in loop -
etcd/client/pkg/v3 @v3.7.2
tlsutil/tlsutil.go:29
in loop - in loop
top callers
The modules that reach for it
The modules that call ReadFile most in this snapshot.
- github.com/esengine/DeepSeek-Reasonix1,0656%
- github.com/gastownhall/gastown6693%
- github.com/steveyegge/gastown6693%
- github.com/gastownhall/beads4772%
- github.com/steveyegge/beads4772%
siblings
More from os
The other most-called functions in this package. See all →