mirror of
https://github.com/restic/restic.git
synced 2026-03-21 21:42:43 +00:00
This commit is a followup to the addition of the --group-by flag for the snapshots command. Adding the grouping code there introduced duplicated code (the forget command also does grouping). This commit refactors boths sides to only use shared code.