MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / memoryPaths

Function memoryPaths

src/context/memory-mirror.ts:42–47  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

40
41/** Where the two mirror files live for a given working directory. */
42export function memoryPaths(cwd: string): { user: string; project: string } {
43 return {
44 user: path.join(os.homedir(), '.qodex', 'memory.md'),
45 project: path.join(cwd, '.qodex', 'MEMORY.md'),
46 };
47}
48
49function projectTitle(cwd: string): string {
50 try { return getSessionStore().getProject(cwd)?.name || path.basename(cwd); }

Callers 3

exportMemoryFunction · 0.85
importMemoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected