mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-23 01:08:53 +00:00
IFilesystemNode: add get_storage_index(), it makes tests easier
This commit is contained in:
@ -243,6 +243,9 @@ class NewDirectoryNode:
|
||||
def get_verifier(self):
|
||||
return self._uri.get_verifier().to_string()
|
||||
|
||||
def get_storage_index(self):
|
||||
return self._uri._filenode_uri.storage_index
|
||||
|
||||
def check(self, verify=False, repair=False):
|
||||
"""Perform a file check. See IChecker.check for details."""
|
||||
return self._node.check(verify, repair)
|
||||
|
Reference in New Issue
Block a user