MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / usesWsl

Function usesWsl

scripts/container-runtime.js:61–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61function usesWsl() {
62 const runtime = detectRuntime();
63 return runtime !== null && runtime.startsWith('wsl ');
64}
65
66function isAvailable() {
67 return detectRuntime() !== null;

Callers

nothing calls this directly

Calls 1

detectRuntimeFunction · 0.85

Tested by

no test coverage detected