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

Function pushGreeting

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

Source from the content-addressed store, hash-verified

17 },
18 async waitForReview(id) { calls.push(`wait:${id}`); },
19 async pushGreeting(greeting) {
20 calls.push(`push:${greeting.trim()}`);
21 head = `head-${calls.filter(call => call.startsWith("push:")).length}`;
22 return head;
23 },
24 async verify(finalHead, reviews) {
25 calls.push(`verify:${finalHead}:${reviews.join(",")}`);
26 assert.equal(finalHead, head);

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected