path.Clean
standard libraryThe 859th most-called standard-library function by production calls. Called 827 times across 219 modules; 783 of those run outside tests and generated code.
- prod calls
- 783
- non-test, non-generated
- all calls
- 827
- total callsites
- modules
- 219
- distinct callers
- in loop
- 22%
- of prod calls
- in tests
- 4%
- 37 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 Clean from notable Go projects. Open one on the map to see what else it hammers.
- Docker 35 4%
- containerd 21 3%
- MinIO 20 3%
- Hugo 15 2%
- Kubernetes 15 2%
where it's called
Callsites in the wild
12 representative callsites of 827, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
miekg/dns @v0.6.90
cmd/atomdns/internal/dnszone/watch.go:39
in loop - in loop
- in loop
-
moby/buildkit @v0.32.2
in loop -
encr.dev @v1.57.13
pkg/github/github.go:168
in loop -
etcd-io/etcd @v2.3.8+incompatible
in loop -
gitea.dev @v1.27.1
modules/util/path.go:36
in loop -
IBM-Cloud/bluemix-go @v0.0.0-20260624064701-576d2f801297
in loop - in loop
- in loop
top callers
The modules that reach for it
The modules that call Clean most in this snapshot.
- github.com/drakkan/sftpgo324%
- github.com/rclone/rclone273%
- github.com/dagger/dagger233%
- github.com/minio/minio233%
- github.com/seaweedfs/seaweedfs213%
siblings
More from path
The other most-called functions in this package. See all →