MCPcopy Create free account
hub / github.com/47ng/nuqs / parseRange

Function parseRange

packages/scripts/lib/commit-graph.ts:618–626  ·  view source on GitHub ↗
(args: {
  channel: Channel
  currentRef: string
  reader: ReleaseGraphReader
})

Source from the content-addressed store, hash-verified

616// parse them into the uniform stage-1 form. The PR-linked entries' numbers are
617// the SSOT both phase-specific fetches key off.
618export function parseRange(args: {
619 channel: Channel
620 currentRef: string
621 reader: ReleaseGraphReader
622}): ParsedCommit[] {
623 const { reader } = args
624 const range = resolveRange({ ...args, tags: reader.readTags() })
625 return parseCommits(reader.readCommits(range))
626}
627
628// Notes-path discovery: the shared core + `fetchChangeDetails`, projected into
629// the full change list — the PR-sourced changes (type/breaking from the commit,

Callers 2

discoverChangesFunction · 0.85
discoverTargetsFunction · 0.85

Calls 2

resolveRangeFunction · 0.85
parseCommitsFunction · 0.85

Tested by

no test coverage detected