Skip to main content

snapshot

Function snapshot 

Source
pub fn snapshot(project: &Path, message: &str) -> Result<Checkpoint, String>
Expand description

Snapshot the current working tree. Returns the new checkpoint, or — when the tree is unchanged since the last snapshot — the existing HEAD checkpoint.