MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / guestOs

Function guestOs

e2e/cli/service-install-takeover.test.ts:32–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30type GuestOs = "macos" | "linux" | "windows";
31
32const guestOs = (): GuestOs => {
33 const os = process.env.E2E_VM_OS;
34 if (os === "macos" || os === "linux" || os === "windows") return os;
35 throw new Error(`Unsupported E2E_VM_OS: ${os ?? "<unset>"}`);
36};
37
38const sshInvocation = (command: string): { command: string; args: ReadonlyArray<string> } => {
39 const host = process.env.E2E_CLI_VM_HOST;

Callers 9

sshInvocationFunction · 0.70
executorPathFunction · 0.70
healthStatusCommandFunction · 0.70
listenerPidFunction · 0.70
uninstallServiceCommandFunction · 0.70
startPredecessorFunction · 0.70
installServiceCommandFunction · 0.70
processAliveCommandFunction · 0.70
restoreServiceCommandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected