(paths: &[&T])
| 3311 | } |
| 3312 | |
| 3313 | fn format_paths<T: AsRef<str>>(paths: &[&T]) -> String { |
| 3314 | if paths.is_empty() { |
| 3315 | "none".to_string() |
| 3316 | } else { |
| 3317 | paths |
| 3318 | .iter() |
| 3319 | .map(|path| path.as_ref()) |
| 3320 | .collect::<Vec<_>>() |
| 3321 | .join(", ") |
| 3322 | } |
| 3323 | } |
| 3324 | |
| 3325 | fn write_workspace_metadata(root: &Path, snapshot: &ShimSnapshot) -> CliResult<()> { |
| 3326 | checkpoint::write_verified_checkpoint( |