Skip to content
callcount

package

io/fs

standard library

22 standard-library functions from io/fs, ranked by how often they are called outside tests and generated code.

Docs on pkg.go.dev ↗

prod calls
24,303
non-test, non-generated
all calls
34,864
total callsites
functions
22
ranked in this snapshot
origin
std
standard-library

members

Functions in io/fs

Ranked by production calls. The bar scales each function against the busiest in this package.

Function Prod calls
DirEntry.Name 4,958
FileInfo.IsDir 4,314
FileInfo.Mode 3,215
FileInfo.Size 2,414
DirEntry.IsDir 1,988
FileInfo.Name 1,814
FileInfo.ModTime 1,427
FileMode.IsRegular 974
FileMode.Perm 515
FileInfo.Sys 501
DirEntry.Info 421
File.Close 315
FS.Open 244
DirEntry.Type 232
FileMode.IsDir 219
ReadFile 147
WalkDir 147
Sub 113
FileMode.String 91
Stat 90
File.Stat 85
ReadDir 79