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

Function fetch

packages/computer/src/git/cli.test.ts:282–285  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

280 calls.checkout.push(options);
281 },
282 async fetch(options = {}) {
283 calls.fetch.push(options);
284 return fakes.fetch?.() ?? { defaultBranch: "main", fetchHead: null };
285 },
286 async push(options = {}) {
287 calls.push.push(options);
288 return fakes.push?.() ?? { ok: true, error: null, refs: {} };

Callers

nothing calls this directly

Calls 2

pushMethod · 0.65
fetchMethod · 0.65

Tested by

no test coverage detected