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

Method init

packages/shell/src/tests/agents/git.ts:24–26  ·  view source on GitHub ↗
(opts?: { defaultBranch?: string })

Source from the content-addressed store, hash-verified

22 }
23
24 async init(opts?: { defaultBranch?: string }) {
25 return this.git().init(opts);
26 }
27
28 async writeFile(path: string, content: string) {
29 await this.workspace.writeFile(path, content);

Callers

nothing calls this directly

Calls 2

gitMethod · 0.95
initMethod · 0.65

Tested by

no test coverage detected