Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
45
export
function
pullRequestNumberFromRef(pr: string): number {
46
return
parsePullRequestRef(readRepoContext().originUrl, pr);
47
}
Callers
1
buildChaptersFile
Function · 0.85
Calls
2
parsePullRequestRef
Function · 0.85
readRepoContext
Function · 0.85
Tested by
no test coverage detected