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
21,557
non-test, non-generated
all calls
29,564
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,408
FileInfo.IsDir 3,987
FileInfo.Mode 2,683
FileInfo.Size 2,089
FileInfo.Name 1,834
DirEntry.IsDir 1,756
FileInfo.ModTime 1,237
FileMode.IsRegular 737
FileInfo.Sys 442
FileMode.Perm 385
DirEntry.Info 367
File.Close 281
FS.Open 244
FileMode.IsDir 215
DirEntry.Type 197
WalkDir 143
ReadFile 136
Sub 104
FileMode.String 87
Stat 83
File.Stat 76
ReadDir 66