Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ReviewStage/stage-cli
/ readRepoContext
Function
readRepoContext
packages/cli/src/git.ts:25–28 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
}
24
25
export
function
readRepoContext(): RepoContext {
26
const
root = readRepoRoot();
27
return
{ root, originUrl: readOriginUrl(root) };
28
}
29
30
export
function
readRepoRoot(): string {
31
try {
Callers
4
show
Function · 0.85
resolveDiffScope
Function · 0.85
pullRequestNumberFromRef
Function · 0.85
importChaptersFile
Function · 0.85
Calls
2
readRepoRoot
Function · 0.85
readOriginUrl
Function · 0.85
Tested by
no test coverage detected