MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getProjectDir

Function getProjectDir

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

Source from the content-addressed store, hash-verified

329}
330
331export function getProjectDir(projectDir: string): string {
332 return join(getProjectsDir(), sanitizePath(projectDir))
333}
334
335/**
336 * 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