os.Create
standard libraryThe 331st most-called standard-library function by production calls. Called 4,896 times across 663 modules; 2,672 of those run outside tests and generated code.
- prod calls
- 2,672
- non-test, non-generated
- all calls
- 4,896
- total callsites
- modules
- 663
- distinct callers
- in loop
- 6%
- of prod calls
- in tests
- 45%
- 2,223 calls
- resolved
- 100%
- 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 →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into Create from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 116 4%
- Grafana 53 2%
- containerd 51 2%
- HashiCorp 43 2%
- Go (golang.org/x) 38 1%
where it's called
Callsites in the wild
12 representative callsites of 4,896, prioritizing in-loop and non-test usage. We link to source, never display it.
-
argoproj/pkg @v0.13.6
in loop - in loop
-
go/storage @v1.64.0
transfermanager/downloader.go:221
in loop -
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
-
moby/moby @v28.5.2+incompatible
in loop -
etcd-io/etcd @v2.3.8+incompatible
in loop - in loop
-
gitea.dev @v1.27.1
modules/lfs/filesystem_client.go:74
in loop - in loop
-
a-h/templ @v0.3.1020
in loop
top callers
The modules that reach for it
The modules that call Create most in this snapshot.
- github.com/seaweedfs/seaweedfs1243%
- github.com/goreleaser/goreleaser1072%
- github.com/kubernetes/kubernetes802%
- github.com/u-root/u-root802%
- github.com/grafana/loki/v3711%
siblings
More from os
The other most-called functions in this package. See all →