Island: Add INodeRepository.reset()
This commit is contained in:
parent
ed0e8c4870
commit
6cc8948ebf
|
@ -33,3 +33,12 @@ class INodeRepository(ABC):
|
||||||
:return: All known Nodes
|
:return: All known Nodes
|
||||||
:raises RetrievalError: If an error occurred while attempting to retrieve the 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
|
||||||
|
"""
|
||||||
|
|
Loading…
Reference in New Issue