MCPcopy Index your code
hub / github.com/continuedev/continue / isExecError

Function isExecError

extensions/cli/src/util/git.ts:123–131  ·  view source on GitHub ↗
(
  error: unknown,
)

Source from the content-addressed store, hash-verified

121}
122
123function isExecError(
124 error: unknown,
125): error is { code?: number; stdout?: string } {
126 return (
127 typeof error === "object" &&
128 error !== null &&
129 ("code" in error || "stdout" in error)
130 );
131}
132
133export async function getGitDiffSnapshot(): Promise<GitDiffSnapshot> {
134 try {

Callers 1

getGitDiffSnapshotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected