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

Function getRepoMeta

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

Source from the content-addressed store, hash-verified

170
171 // GitHub API
172 async function getRepoMeta() {
173 const data = await fetchJSON(`https://api.github.com/repos/${OWNER}/${REPO}`);
174 return { default_branch: data.default_branch || 'main' };
175 }
176
177 async function getReleases() {
178 // Return latest 100 releases

Callers 1

app.jsFile · 0.85

Calls 1

fetchJSONFunction · 0.85

Tested by

no test coverage detected