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

Function getRuntimeLabel

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

Source from the content-addressed store, hash-verified

77}
78
79function getRuntimeLabel() {
80 const runtime = getRuntime();
81 return runtime.endsWith('podman') ? 'Podman' : 'Docker';
82}
83
84function run(args, options = {}) {
85 execSync(`${getRuntime()} ${args}`, { stdio: 'inherit', shell: true, ...options });

Callers

nothing calls this directly

Calls 1

getRuntimeFunction · 0.85

Tested by

no test coverage detected