MCPcopy Create free account
hub / github.com/AI45Lab/Code / delete_loop_checkpoint

Method delete_loop_checkpoint

core/src/store/file_store.rs:485–497  ·  view source on GitHub ↗
(&self, run_id: &str)

Source from the content-addressed store, hash-verified

483 }
484
485 async fn delete_loop_checkpoint(&self, run_id: &str) -> Result<()> {
486 let path = self.loop_checkpoint_path(run_id);
487 if path.exists() {
488 fs::remove_file(&path).await.with_context(|| {
489 format!(
490 "Failed to delete loop checkpoint for run {}: {}",
491 run_id,
492 path.display()
493 )
494 })?;
495 }
496 Ok(())
497 }
498
499 async fn save_workflow_checkpoint(
500 &self,

Calls 3

loop_checkpoint_pathMethod · 0.80
with_contextMethod · 0.80
existsMethod · 0.45