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

Function create

packages/computer/src/artifacts/client.ts:114–117  ·  view source on GitHub ↗
(name, opts)

Source from the content-addressed store, hash-verified

112 sessionId,
113
114 async create(name, opts) {
115 const result = await binding.create(scopedName(sessionId, name), opts);
116 return { ...result, name: unscopeOr(sessionId, result.name, name) };
117 },
118
119 async get(name) {
120 const handle = await binding.get(scopedName(sessionId, name));

Callers 1

Calls 3

scopedNameFunction · 0.85
unscopeOrFunction · 0.85
createMethod · 0.65

Tested by

no test coverage detected