MCPcopy Create free account
hub / github.com/agent-tower/core / pathExists

Method pathExists

packages/server/src/git/worktree.manager.ts:764–766  ·  view source on GitHub ↗
(targetPath: string)

Source from the content-addressed store, hash-verified

762 }
763
764 private async pathExists(targetPath: string): Promise<boolean> {
765 return fs.access(targetPath).then(() => true).catch(() => false);
766 }
767
768 private async isManagedWorktreePath(targetPath: string): Promise<boolean> {
769 const [basePath, normalizedTargetPath] = await Promise.all([

Callers 1

removeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected