MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / DeletionStats

Class DeletionStats

keepercommander/commands/utils.py:72–82  ·  view source on GitHub ↗

Statistics for deletion operations.

Source from the content-addressed store, hash-verified

70
71@dataclass
72class DeletionStats:
73 """Statistics for deletion operations."""
74 deleted: int = 0
75 failed: int = 0
76 vault_changed: bool = False
77
78 def add(self, other):
79 """Add another DeletionStats to this one."""
80 self.deleted += other.deleted
81 self.failed += other.failed
82 self.vault_changed = self.vault_changed or other.vault_changed
83
84
85class DeletionValidator:

Callers 4

_delete_batchMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected