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

Function hasUncommittedChanges

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

Source from the content-addressed store, hash-verified

204}
205
206export function hasUncommittedChanges(): boolean {
207 const out = execFileSync("git", ["status", "--porcelain"], {
208 encoding: "utf8",
209 stdio: ["ignore", "pipe", "ignore"],
210 }).trim();
211 return out.length > 0;
212}
213
214export interface ResolvedScope {
215 scope: Scope;

Callers 1

resolveSingleRefScopeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected