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

Function getProjectDir

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

Source from the content-addressed store, hash-verified

325}
326
327export function getProjectDir(projectDir: string): string {
328 return join(getProjectsDir(), sanitizePath(projectDir))
329}
330
331/**
332 * 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