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
23,203
non-test, non-generated
all calls
32,449
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,743
FileInfo.IsDir 4,183
FileInfo.Mode 2,996
FileInfo.Size 2,317
DirEntry.IsDir 1,916
FileInfo.Name 1,827
FileInfo.ModTime 1,373
FileMode.IsRegular 871
FileInfo.Sys 466
FileMode.Perm 447
DirEntry.Info 404
File.Close 275
FS.Open 232
FileMode.IsDir 218
DirEntry.Type 213
WalkDir 146
ReadFile 136
Sub 109
FileMode.String 92
Stat 89
File.Stat 78
ReadDir 72