MCPcopy Index your code
hub / github.com/docker/cli / isWsl

Function isWsl

cli/command/telemetry_docker.go:238–240  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

236}
237
238func isWsl() bool {
239 return os.Getenv("WSL_DISTRO_NAME") != ""
240}

Callers 1

unixSocketEndpointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…