io/fs.File.Stat
standard libraryThe 7796th most-called standard-library method by production calls. Called 115 times across 52 modules; 76 of those run outside tests and generated code.
- prod calls
- 76
- non-test, non-generated
- all calls
- 115
- total callsites
- modules
- 52
- distinct callers
- in loop
- 1%
- of prod calls
- in tests
- 34%
- 39 calls
- resolved
- 2%
- 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 →
- Embedded method2%Reached through an embedded type.
- Interface method98%Called through an interface. The runtime target may differ.
who calls this
Notable callers
Production calls into File.Stat from notable Go projects. Open one on the map to see what else it hammers.
- containerd 5 7%
- HashiCorp 4 5%
- Consul 1 1%
- Docker 1 1%
- Gitea 1 1%
where it's called
Callsites in the wild
12 representative callsites of 115, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop test
- in loop test
-
ipfs/kubo @v0.43.0
in loop test -
masahiro331/go-xfs-filesystem @v0.0.0-20260422061116-d21e5e4481bb
in loop test - in loop test
-
-
docker/cli @v29.7.1+incompatible
-
encr.dev @v1.57.13
pkg/vfs/vfs.go:178
-
-
gitea.dev @v1.27.1
modules/actions/log.go:49
-
MHSanaei/3x-ui @v1.7.9
top callers
The modules that reach for it
The modules that call File.Stat most in this snapshot.
- github.com/diskfs/go-diskfs1412%
- github.com/charmbracelet/charm76%
- gitea.dev54%
- github.com/BishopFox/sliver54%
- github.com/aquasecurity/trivy54%
siblings
More from io/fs
The other most-called members in this package. See all →