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

Function isValidProjectDirectory

packages/server/src/services/project.service.ts:206–213  ·  view source on GitHub ↗
(repoPath: string)

Source from the content-addressed store, hash-verified

204 }
205
206 return {
207 resolvedPath,
208 repoRemoteUrl: await getRepoRemoteUrl(resolvedPath),
209 initialized,
210 };
211}
212
213async function isValidProjectDirectory(repoPath: string): Promise<boolean> {
214 try {
215 assertDirectoryPathExists(path.resolve(repoPath));
216 return true;

Callers 1

restoreMethod · 0.85

Calls 1

Tested by

no test coverage detected