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

Function currentBranch

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

Source from the content-addressed store, hash-verified

245 return fakes.repoRoot?.() ?? "/";
246 },
247 async currentBranch(options = {}) {
248 calls.currentBranch.push(options);
249 return fakes.currentBranch?.();
250 },
251 async lsFiles(options = {}) {
252 calls.lsFiles.push(options);
253 return fakes.lsFiles?.() ?? [];

Callers

nothing calls this directly

Calls 2

pushMethod · 0.65
currentBranchMethod · 0.65

Tested by

no test coverage detected