Island: Add INodeRepository.reset()

This commit is contained in:
Mike Salvatore 2022-09-13 19:09:55 -04:00
parent ed0e8c4870
commit 6cc8948ebf
1 changed files with 9 additions and 0 deletions

View File

@ -33,3 +33,12 @@ class INodeRepository(ABC):
:return: All known Nodes
:raises RetrievalError: If an error occurred while attempting to retrieve the nodes
"""
@abstractmethod
def reset(self):
"""
Removes all data from the repository
:raises RemovalError: If an error occurred while attempting to remove all `Nodes` from the
repository
"""