MCPcopy Create free account
hub / github.com/neomjs/neo / getIssueById

Method getIssueById

ai/services/github-workflow/LocalFileService.mjs:97–99  ·  view source on GitHub ↗

* Finds and returns the content of a local issue file by its number. * * ADR 0004 §3.2 replaces ID-derived folder lookup with the content index because * ordinal-100 chunk position is no longer derivable from the GitHub issue number. * * @param {string} issueNumber The issue

(issueNumber)

Source from the content-addressed store, hash-verified

95 * @returns {Promise<object>} A promise that resolves to the file content or a structured error.
96 */
97 async getIssueById(issueNumber) {
98 return this.#getByIndexedContentId('issues', issueNumber, 'Issue');
99 }
100
101 /**
102 * Finds and returns the content of a local discussion file by its number.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected