MCPcopy
hub / github.com/coder/mux / resolveRealProjectPath

Function resolveRealProjectPath

src/node/services/projectService.ts:322–324  ·  view source on GitHub ↗
(projectPath: string)

Source from the content-addressed store, hash-verified

320}
321
322async function resolveRealProjectPath(projectPath: string): Promise<string> {
323 return stripTrailingSlashes(await fsPromises.realpath(projectPath));
324}
325
326async function readGitTopLevel(projectPath: string): Promise<string | null> {
327 try {

Callers 1

createMethod · 0.85

Calls 1

stripTrailingSlashesFunction · 0.90

Tested by

no test coverage detected