MCPcopy Create free account
hub / github.com/agegr/pi-web / invalidateProjectCache

Function invalidateProjectCache

lib/worktree.ts:47–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45}
46
47export function invalidateProjectCache(): void {
48 globalThis.__piProjectCache?.clear();
49}
50
51async function git(cwd: string, args: string[]): Promise<string> {
52 const { stdout } = await execFileAsync("git", ["-C", cwd, ...args], {

Callers 2

addWorktreeFunction · 0.85
removeWorktreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected