pub fn prune_packed_objects(
objects_dir: &Path,
opts: PrunePackedOptions,
) -> Result<Vec<PathBuf>>Expand description
Remove loose objects that are already stored in a pack file.
For each loose object under objects_dir whose ObjectId appears in
at least one local pack index, the file is deleted (or, with
PrunePackedOptions::dry_run, the deletion command is printed to
stdout). Empty two-char prefix directories are removed afterwards.
Returns the list of paths that were (or would be) removed.
ยงErrors
Error::Iofor directory or file access failures.