From 7712e6b19def97cf0266146863d11d5a29767a6a Mon Sep 17 00:00:00 2001 From: drebs Date: Fri, 8 Dec 2017 22:36:24 -0200 Subject: [refactor] make get_total_storage() return a deferred --- src/leap/soledad/server/interfaces.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/leap') 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=''): -- cgit v1.2.3