Skip to main content

snapshot

Function snapshot 

Source
pub async fn snapshot(
    shadow_repo: &Path,
    working_dir: &Path,
    label: &str,
) -> Result<Option<String>, String>
Expand description

Stage everything and commit. Returns the new commit hash, or None if there were no changes to snapshot.