MCPcopy Index your code
hub / github.com/21st-dev/1code / isExecFileException

Function isExecFileException

src/main/lib/git/worktree.ts:33–38  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

31}
32
33function isExecFileException(error: unknown): error is ExecFileException {
34 return (
35 error instanceof Error &&
36 ("code" in error || "signal" in error || "killed" in error)
37 );
38}
39
40async function getGitEnv(): Promise<Record<string, string>> {
41 const shellEnv = await getShellEnvironment();

Callers 1

branchExistsOnRemoteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected