MCPcopy Create free account
hub / github.com/Noumena-Network/code / getSessionMemoryDir

Function getSessionMemoryDir

src/utils/permissions/filesystem.ts:271–273  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

269 * Path format: {projectDir}/{sessionId}/session-memory/
270 */
271export function getSessionMemoryDir(): string {
272 return join(getProjectDir(getCwd()), getSessionId(), 'session-memory') + sep
273}
274
275/**
276 * Returns the session memory file path for the current session.

Callers 3

getSessionMemoryPathFunction · 0.85
isSessionMemoryPathFunction · 0.85
setupSessionMemoryFileFunction · 0.85

Calls 3

getCwdFunction · 0.85
getSessionIdFunction · 0.85
getProjectDirFunction · 0.50

Tested by

no test coverage detected