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

Function tripwire

packages/computer/src/workspace.test.ts:942–945  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

940 // against.
941 const touched: string[] = [];
942 const tripwire = (name: string): never => {
943 touched.push(name);
944 throw new Error(`sync.${name} must not be reached when sync: 'none'`);
945 };
946 const sync: import("@cloudflare/computer-rpc").SyncRPC = {
947 push: () => tripwire("push"),
948 fetchChanges: () => tripwire("fetchChanges"),

Callers 1

workspace.test.tsFile · 0.85

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected