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

Function init

packages/computer/src/git/plumbing.test.ts:24–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22const isogit = git as unknown as IsomorphicGitPlumbingClient;
23
24async function init() {
25 await memfs.promises.mkdir(DIR, { recursive: true });
26 await git.init({ fs: memfs, dir: DIR, defaultBranch: "main" });
27}
28
29describe("hashObjectWith", () => {
30 beforeEach(() => vol.reset());

Callers 1

plumbing.test.tsFile · 0.70

Calls 2

mkdirMethod · 0.65
initMethod · 0.65

Tested by

no test coverage detected