MCPcopy Create free account
hub / github.com/Martian-Engineering/pr-sheriff / getIssue

Method getIssue

src/github/github_fetch.mjs:120–126  ·  view source on GitHub ↗

* Fetch issue details.

(number, { useCache = true } = {})

Source from the content-addressed store, hash-verified

118 * Fetch issue details.
119 */
120 async getIssue(number, { useCache = true } = {}) {
121 return await this.#restRequest({
122 method: 'GET',
123 endpoint: `/repos/${this.owner}/${this.name}/issues/${number}`,
124 useCache,
125 });
126 }
127
128 /**
129 * List all comments on a PR: issue comments + PR review (inline) comments.

Callers 3

analyzePrFunction · 0.95
getNumberKindFunction · 0.80

Calls 1

#restRequestMethod · 0.95

Tested by

no test coverage detected