io/fs.FileInfo.Mode
standard libraryThe 315th most-called standard-library method by production calls. Called 4,658 times across 444 modules; 2,996 of those run outside tests and generated code.
1% in production calls vs 2026-W39 (2,967 → 2,996)
- prod calls
- 2,996
- non-test, non-generated
- all calls
- 4,658
- total callsites
- modules
- 444
- distinct callers
- in loop
- 20%
- of prod calls
- in tests
- 35%
- 1,652 calls
- resolved
- 1%
- 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 method<1%Reached through an embedded type.
- Interface method99%Called through an interface. The runtime target may differ.
who calls this
Notable callers
Production calls into FileInfo.Mode from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 158 5%
- containerd 104 3%
- Docker 87 3%
- Istio 30 1%
- HashiCorp 28 <1%
where it's called
Callsites in the wild
12 representative callsites of 4,658, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
-
bubbles/v2 @v2.2.1
filepicker/filepicker.go:394
in loop -
cilium/hive @v1.0.6
in loop -
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
- in loop
-
encr.dev @v1.58.6
cli/cmd/encore/k8s/types/homedir.go:72
in loop - in loop
- in loop
top callers
The modules that reach for it
The modules that call FileInfo.Mode most in this snapshot.
- github.com/esengine/DeepSeek-Reasonix3678%
- github.com/gastownhall/beads1563%
- github.com/steveyegge/beads1563%
- github.com/gruntwork-io/terragrunt1072%
- github.com/photoprism/photoprism942%
siblings
More from io/fs
The other most-called members in this package. See all →