MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / checkpoint_path

Function checkpoint_path

atomic-cli/src/commands/git/checkpoint.rs:221–223  ·  view source on GitHub ↗
(root: &Path)

Source from the content-addressed store, hash-verified

219}
220
221pub(crate) fn checkpoint_path(root: &Path) -> PathBuf {
222 root.join(CHECKPOINT_RELATIVE_PATH)
223}
224
225/// Read and upgrade a local checkpoint without rewriting it.
226pub(crate) fn read_checkpoint(root: &Path) -> Result<Option<ShimCheckpoint>, CheckpointError> {

Callers 3

read_checkpointFunction · 0.85
write_checkpointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected