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

Function parseRange

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

Source from the content-addressed store, hash-verified

579// parse them into the uniform stage-1 form. The PR-linked entries' numbers are
580// the SSOT both phase-specific fetches key off.
581export function parseRange(args: {
582 channel: Channel
583 currentRef: string
584 reader: ReleaseGraphReader
585}): ParsedCommit[] {
586 const { reader } = args
587 const range = resolveRange({ ...args, tags: reader.readTags() })
588 return parseCommits(reader.readCommits(range))
589}
590
591// Notes-path discovery: the shared core + `fetchChangeDetails`, projected into
592// 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.90
parseCommitsFunction · 0.85

Tested by

no test coverage detected