MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / pointer

Function pointer

scripts/extract-release-notes.mjs:159–161  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

157 const repo = process.env.GITHUB_REPOSITORY || 'colbymchenry/codegraph';
158 const ref = version && /^\d+\.\d+\.\d+/.test(version) ? `v${version}` : 'main';
159 const pointer = (n) =>
160 `_…and ${n} more ${n === 1 ? 'entry' : 'entries'}: the full list is in ` +
161 `[CHANGELOG.md](https://github.com/${repo}/blob/${ref}/CHANGELOG.md)._`;
162 for (let c = cuts.length - 1; c >= 0; c--) {
163 const kept = lines.slice(0, cuts[c]);
164 // A heading left with nothing under it goes too.

Callers 1

fitToReleaseBodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected