MCPcopy Index your code
hub / github.com/winfunc/opcode / restoreCheckpoint

Function restoreCheckpoint

src/lib/api.ts:1176–1188  ·  view source on GitHub ↗

* Restores a session to a specific checkpoint

(
    checkpointId: string,
    sessionId: string,
    projectId: string,
    projectPath: string
  )

Source from the content-addressed store, hash-verified

1174 * Restores a session to a specific checkpoint
1175 */
1176 async restoreCheckpoint(
1177 checkpointId: string,
1178 sessionId: string,
1179 projectId: string,
1180 projectPath: string
1181 ): Promise<CheckpointResult> {
1182 return invoke("restore_checkpoint", {
1183 checkpointId,
1184 sessionId,
1185 projectId,
1186 projectPath
1187 });
1188 },
1189
1190 /**
1191 * Lists all checkpoints for a session

Callers 1

ClaudeCodeSessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected