MCPcopy
hub / github.com/openclaw/clawsweeper / fetchIssue

Function fetchIssue

src/repair/apply-result.ts:1564–1566  ·  view source on GitHub ↗
(repo: string, number: JsonValue)

Source from the content-addressed store, hash-verified

1562}
1563
1564function fetchIssue(repo: string, number: JsonValue) {
1565 return ghJson(["api", `repos/${repo}/issues/${number}`]);
1566}
1567
1568function fetchPullRequest(repo: string, number: JsonValue) {
1569 return ghJson(["api", `repos/${repo}/pulls/${number}`]);

Callers 5

applyCloseActionFunction · 0.70
applyMergeActionFunction · 0.70

Calls 1

ghJsonFunction · 0.70

Tested by

no test coverage detected