mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-09 11:51:21 +00:00
interfaces: add IRepairable
This commit is contained in:
parent
923c9c242a
commit
3e95681bad
@ -1540,6 +1540,12 @@ class IDeepCheckResults(Interface):
|
||||
"""Return a list of ICheckerResults, one for each object that
|
||||
was not fully healthy."""
|
||||
|
||||
class IRepairable(Interface):
|
||||
def repair():
|
||||
"""Attempt to repair the given object. Returns a Deferred that fires
|
||||
with a IRepairResults object.
|
||||
"""
|
||||
|
||||
|
||||
class IClient(Interface):
|
||||
def upload(uploadable):
|
||||
|
Loading…
x
Reference in New Issue
Block a user