MCPcopy
hub / github.com/codeaashu/claude-code / getSnapshotDirForAgent

Function getSnapshotDirForAgent

src/tools/AgentTool/agentMemorySnapshot.ts:31–33  ·  view source on GitHub ↗
(agentType: string)

Source from the content-addressed store, hash-verified

29 * e.g., <cwd>/.claude/agent-memory-snapshots/<agentType>/
30 */
31export function getSnapshotDirForAgent(agentType: string): string {
32 return join(getCwd(), '.claude', SNAPSHOT_BASE, agentType)
33}
34
35function getSnapshotJsonPath(agentType: string): string {
36 return join(getSnapshotDirForAgent(agentType), SNAPSHOT_JSON)

Callers 2

getSnapshotJsonPathFunction · 0.85
copySnapshotToLocalFunction · 0.85

Calls 1

getCwdFunction · 0.85

Tested by

no test coverage detected