mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 22:07:51 +00:00
interfaces.IMutableFileNode.download_best_version(): fix return value
This commit is contained in:
parent
fca158e83a
commit
4b48d94c52
@ -547,11 +547,11 @@ class IMutableFileNode(IFileNode, IMutableFilesystemNode):
|
|||||||
available, then this will be the most recent version that has been
|
available, then this will be the most recent version that has been
|
||||||
uploaded.
|
uploaded.
|
||||||
|
|
||||||
I return a Deferred that fires with a (contents, servermap) pair. The
|
I update an internal servermap with MODE_READ, determine which
|
||||||
servermap is updated with MODE_READ. The contents will be the version
|
version of the file is indicated by
|
||||||
of the file indicated by servermap.best_recoverable_version(). If no
|
servermap.best_recoverable_version(), and return a Deferred that
|
||||||
version is recoverable, the Deferred will errback with
|
fires with its contents. If no version is recoverable, the Deferred
|
||||||
UnrecoverableFileError.
|
will errback with UnrecoverableFileError.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def get_size_of_best_version():
|
def get_size_of_best_version():
|
||||||
|
Loading…
Reference in New Issue
Block a user