pub type SnapshotProgress<'a> = dyn Fn(&RepoPath) + Sync + 'a;