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,033
non-test, non-generated
all calls
32,167
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,704
FileInfo.IsDir 4,177
FileInfo.Mode 2,967
FileInfo.Size 2,291
DirEntry.IsDir 1,892
FileInfo.Name 1,832
FileInfo.ModTime 1,362
FileMode.IsRegular 848
FileInfo.Sys 464
FileMode.Perm 441
DirEntry.Info 403
File.Close 274
FS.Open 232
FileMode.IsDir 217
DirEntry.Type 210
WalkDir 145
ReadFile 136
Sub 108
FileMode.String 91
Stat 89
File.Stat 78
ReadDir 72