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

Function guestOs

e2e/cli/custom-tools-packed.test.ts:44–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44const guestOs = (): GuestOs => {
45 const os = process.env.E2E_VM_OS;
46 if (os === "macos" || os === "linux" || os === "windows") return os;
47 throw new Error(`Unsupported E2E_VM_OS: ${os ?? "<unset>"}`);
48};
49
50const sshInvocation = (command: string): { command: string; args: ReadonlyArray<string> } => {
51 const host = process.env.E2E_CLI_VM_HOST;

Callers 4

sshInvocationFunction · 0.70
fixturePathFunction · 0.70
writeFixtureFunction · 0.70
removeFixtureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected