mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2025-12-19 06:14:19 +01:00
10 lines
284 B
TypeScript
10 lines
284 B
TypeScript
import path from "node:path";
|
|
import { claudeProjectsDirPath } from "../../../lib/config/paths";
|
|
|
|
export function computeClaudeProjectFilePath(projectPath: string): string {
|
|
return path.join(
|
|
claudeProjectsDirPath,
|
|
projectPath.replace(/\/$/, "").replace(/\//g, "-"),
|
|
);
|
|
}
|