MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / getReleases

Function getReleases

Support/SingleFileLibs/javascript/app.js:177–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175 }
176
177 async function getReleases() {
178 // Return latest 100 releases
179 const releases = await fetchJSON(`https://api.github.com/repos/${OWNER}/${REPO}/releases?per_page=100`);
180 return releases.map(r => ({ tag_name: r.tag_name, html_url: r.html_url, draft: r.draft, prerelease: r.prerelease }))
181 .filter(r => !r.draft);
182 }
183
184 const commitShaCache = new Map(); // ref -> sha
185 async function getCommitShaForRef(ref) {

Callers 1

populateReleasesFunction · 0.85

Calls 1

fetchJSONFunction · 0.85

Tested by

no test coverage detected