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

Function catFile

packages/computer/src/git/cli.test.ts:311–319  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

309 return fakes.hashObject?.() ?? "a".repeat(40);
310 },
311 async catFile(options) {
312 calls.catFile.push(options);
313 return (
314 fakes.catFile?.() ?? {
315 oid: "a".repeat(40),
316 bytes: new TextEncoder().encode(""),
317 }
318 );
319 },
320 async updateRef(options) {
321 calls.updateRef.push(options);
322 },

Callers

nothing calls this directly

Calls 2

catFileMethod · 0.80
pushMethod · 0.65

Tested by

no test coverage detected