MCPcopy Create free account
hub / github.com/ReviewStage/stage-cli / pullRequestNumberFromRef

Function pullRequestNumberFromRef

packages/cli/src/scope.ts:45–47  ·  view source on GitHub ↗
(pr: string)

Source from the content-addressed store, hash-verified

43 * record which PR it targets so the UI resolves the right one.
44 */
45export function pullRequestNumberFromRef(pr: string): number {
46 return parsePullRequestRef(readRepoContext().originUrl, pr);
47}

Callers 1

buildChaptersFileFunction · 0.85

Calls 2

parsePullRequestRefFunction · 0.85
readRepoContextFunction · 0.85

Tested by

no test coverage detected