MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / get_checkpoint

Method get_checkpoint

crates/chat-cli/src/cli/chat/checkpoint.rs:341–346  ·  view source on GitHub ↗
(&self, tag: &str)

Source from the content-addressed store, hash-verified

339 }
340
341 fn get_checkpoint(&self, tag: &str) -> Result<&Checkpoint> {
342 self.tag_index
343 .get(tag)
344 .and_then(|&idx| self.checkpoints.get(idx))
345 .ok_or_else(|| eyre!("Checkpoint '{}' not found", tag))
346 }
347}
348
349impl Drop for CheckpointManager {

Callers 1

restoreMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected