mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-20 14:03:53 +03:00
524ed4048b
No functional change intended: In preparation for including the removed vanished groups and snapshots statistics in a sync jobs task log output. Instead of returning a boolean value showing whether all of the snapshots of the group have been removed, return an instance of `BackupGroupDeleteStats`, containing the count of deleted and protected snapshots, the latter not having been removed from the group. The `removed_all` method is introduced as replacement for the previous boolean return value and can be used to check if all snapshots have been removed. If there are no protected snapshots, the group is considered to be deleted. Signed-off-by: Christian Ebner <c.ebner@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>