MCPcopy Create free account
hub / github.com/cli/cli / currentHead

Function currentHead

evals/src/smoke.test.ts:12–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 let nextReview = 100;
11 const protocol: SmokeProtocol = {
12 async currentHead() { calls.push("head"); return head; },
13 async submitReview(reviewedHead, event) {
14 assert.equal(reviewedHead, head);
15 calls.push(`submit:${event}:${reviewedHead}`);

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected