io/fs.FileInfo.Mode
standard libraryThe 330th most-called standard-library method by production calls. Called 4,058 times across 437 modules; 2,683 of those run outside tests and generated code.
- prod calls
- 2,683
- non-test, non-generated
- all calls
- 4,058
- total callsites
- modules
- 437
- distinct callers
- in loop
- 19%
- of prod calls
- in tests
- 34%
- 1,365 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 156 6%
- containerd 94 4%
- Docker 87 3%
- Istio 30 1%
- HashiCorp 28 1%
where it's called
Callsites in the wild
12 representative callsites of 4,058, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
-
bubbles/v2 @v2.1.1
filepicker/filepicker.go:384
in loop -
cilium/hive @v1.0.4
in loop -
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
- in loop
-
encr.dev @v1.57.13
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-Reasonix1965%
- github.com/gastownhall/beads922%
- github.com/steveyegge/beads922%
- github.com/kubernetes/kubernetes902%
- github.com/dagger/dagger872%
siblings
More from io/fs
The other most-called members in this package. See all →