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

Function markSnapshotSynced

src/tools/AgentTool/agentMemorySnapshot.ts:191–197  ·  view source on GitHub ↗
(
  agentType: string,
  scope: AgentMemoryScope,
  snapshotTimestamp: string,
)

Source from the content-addressed store, hash-verified

189 * Mark the current snapshot as synced without changing local memory.
190 */
191export async function markSnapshotSynced(
192 agentType: string,
193 scope: AgentMemoryScope,
194 snapshotTimestamp: string,
195): Promise<void> {
196 await saveSyncedMeta(agentType, scope, snapshotTimestamp)
197}
198

Callers

nothing calls this directly

Calls 1

saveSyncedMetaFunction · 0.85

Tested by

no test coverage detected