MCPcopy Create free account
hub / github.com/cloudflare/computer / binaryAvailable

Function binaryAvailable

packages/computerd/src/exec/runner.fuse.test.ts:55–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55function binaryAvailable(): boolean {
56 try {
57 accessSync(COMPUTERD_BINARY);
58 return true;
59 } catch {
60 return false;
61 }
62}
63
64const enabled = dockerAvailable() && binaryAvailable();
65const describeIfReal = enabled ? describe : describe.skip;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected