io/fs.DirEntry.IsDir
standard libraryThe 457th most-called standard-library method by production calls. Called 2,185 times across 325 modules; 1,756 of those run outside tests and generated code.
- prod calls
- 1,756
- non-test, non-generated
- all calls
- 2,185
- total callsites
- modules
- 325
- distinct callers
- in loop
- 71%
- of prod calls
- in tests
- 20%
- 429 calls
- resolved
- 0%
- 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 →
- Interface method100%Called through an interface. The runtime target may differ.
who calls this
Notable callers
Production calls into DirEntry.IsDir from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 62 4%
- Hugo 51 3%
- Grafana 36 2%
- Docker 33 2%
- containerd 23 1%
where it's called
Callsites in the wild
12 representative callsites of 2,185, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
bubbles/v2 @v2.1.1
filepicker/filepicker.go:392
in loop -
cilium/cilium @v1.20.0
in loop -
miekg/dns @v0.6.90
cmd/atomdns/internal/generate/handler.go:24
in loop -
readeck/go-readability/v2 @v2.1.2
scripts/generate-test.go:57
in loop -
hashicorp/consul @v1.22.7
in loop - in loop
- in loop
-
dgraph-io/badger/v4 @v4.9.6
in loop -
docker/docker @v28.5.2+incompatible
in loop -
encr.dev @v1.57.13
cli/daemon/export/download.go:73
in loop
top callers
The modules that reach for it
The modules that call DirEntry.IsDir most in this snapshot.
- github.com/gastownhall/gastown1497%
- github.com/steveyegge/gastown1497%
- github.com/influxdata/telegraf1075%
- github.com/esengine/DeepSeek-Reasonix1055%
- github.com/gruntwork-io/terragrunt643%
siblings
More from io/fs
The other most-called members in this package. See all →