MCPcopy 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
25export function readRepoContext(): RepoContext {
26 const root = readRepoRoot();
27 return { root, originUrl: readOriginUrl(root) };
28}
29
30export function readRepoRoot(): string {
31 try {

Callers 4

showFunction · 0.85
resolveDiffScopeFunction · 0.85
pullRequestNumberFromRefFunction · 0.85
importChaptersFileFunction · 0.85

Calls 2

readRepoRootFunction · 0.85
readOriginUrlFunction · 0.85

Tested by

no test coverage detected