MCPcopy Create free account
hub / github.com/pingdotgg/t3code / projectScriptCwd

Function projectScriptCwd

packages/shared/src/projectScripts.ts:11–18  ·  view source on GitHub ↗
(input: {
  project: {
    cwd: string;
  };
  worktreePath?: string | null;
})

Source from the content-addressed store, hash-verified

9}
10
11export function projectScriptCwd(input: {
12 project: {
13 cwd: string;
14 };
15 worktreePath?: string | null;
16}): string {
17 return input.worktreePath ?? input.project.cwd;
18}
19
20export function projectScriptRuntimeEnv(
21 input: ProjectScriptRuntimeEnvInput,

Callers 4

ChatView.tsxFile · 0.90
ChatViewContentFunction · 0.90
ThreadRouteScreenFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected