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

Function resolveHead

packages/cli/src/git.ts:135–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133}
134
135export function resolveHead(): string {
136 return execFileSync("git", ["rev-parse", "HEAD"], {
137 encoding: "utf8",
138 stdio: ["ignore", "pipe", "ignore"],
139 }).trim();
140}
141
142export function getRawDiff(args: string[]): string {
143 return execFileSync(

Callers 1

resolveSingleRefScopeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected