projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
923c9c2
)
interfaces: add IRepairable
author
Brian Warner
<warner@allmydata.com>
Fri, 18 Jul 2008 00:32:17 +0000
(17:32 -0700)
committer
Brian Warner
<warner@allmydata.com>
Fri, 18 Jul 2008 00:32:17 +0000
(17:32 -0700)
src/allmydata/interfaces.py
patch
|
blob
|
history
diff --git
a/src/allmydata/interfaces.py
b/src/allmydata/interfaces.py
index c567fe12cbc36b27a1ff9f828c4a2180e48f672a..85b12683310ebdb031778733b479a80e688b6cd7 100644
(file)
--- a/
src/allmydata/interfaces.py
+++ b/
src/allmydata/interfaces.py
@@
-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):