pub fn restore_project_to_depth(
project_path: &Path,
global_depth: usize,
) -> Result<Vec<(String, Result<()>)>>Expand description
restore_project, walking to an explicit depth.
Restore must reach at least as deep as the prune did. A repository configured to a depth of 10 and pruned at 10, then restored at the default 6, comes back with its deepest projects still empty — and nothing would have said so.