summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2017-12-08 22:36:24 -0200
committerdrebs <drebs@leap.se>2017-12-13 13:49:27 -0200
commit7712e6b19def97cf0266146863d11d5a29767a6a (patch)
treef3eb522fa385b67f3929ce85cb3bb75b0ff0ce2e /src/leap
parent7aa8e9496e74f8f1265bf008ae412a3f733ea2b4 (diff)
[refactor] make get_total_storage() return a deferred
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/soledad/server/interfaces.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/soledad/server/interfaces.py b/src/leap/soledad/server/interfaces.py
index 7009cb85..c00b1d91 100644
--- a/src/leap/soledad/server/interfaces.py
+++ b/src/leap/soledad/server/interfaces.py
@@ -143,6 +143,10 @@ class IBlobsBackend(Interface):
:return: The size in units of 1024 bytes.
:rtype: int
+
+ :return: A deferred that fires with the amount of storage used in units
+ of 1024 bytes.
+ :rtype: twisted.internet.defer.Deferred
"""
def get_tag(user, blob_id, namespace=''):