MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getProjectDir

Function getProjectDir

src/utils/sessionStoragePortable.ts:329–331  ·  view source on GitHub ↗
(projectDir: string)

Source from the content-addressed store, hash-verified

327}
328
329export function getProjectDir(projectDir: string): string {
330 return join(getProjectsDir(), sanitizePath(projectDir))
331}
332
333/**
334 * Resolves a directory path to its canonical form using realpath + NFC

Callers 1

findProjectDirFunction · 0.70

Calls 2

getProjectsDirFunction · 0.70
sanitizePathFunction · 0.70

Tested by

no test coverage detected