io/fs.DirEntry.IsDir
standard libraryThe 448th most-called standard-library method by production calls. Called 2,428 times across 331 modules; 1,916 of those run outside tests and generated code.
1% in production calls vs 2026-W39 (1,892 → 1,916)
- prod calls
- 1,916
- non-test, non-generated
- all calls
- 2,428
- total callsites
- modules
- 331
- distinct callers
- in loop
- 71%
- of prod calls
- in tests
- 21%
- 512 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 65 3%
- Hugo 50 3%
- Grafana 36 2%
- Docker 33 2%
- containerd 23 1%
where it's called
Callsites in the wild
12 representative callsites of 2,428, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
bubbles/v2 @v2.2.1
filepicker/filepicker.go:402
in loop -
cilium/cilium @v1.20.2
in loop -
miekg/dns @v0.6.117
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 -
moby/moby @v28.5.2+incompatible
in loop -
encr.dev @v1.58.6
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/esengine/DeepSeek-Reasonix1496%
- github.com/gastownhall/gastown1496%
- github.com/steveyegge/gastown1496%
- github.com/influxdata/telegraf1105%
- github.com/gruntwork-io/terragrunt723%
siblings
More from io/fs
The other most-called members in this package. See all →