Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
git
Method · 0.95
init
Method · 0.65
Tested by
no test coverage detected