Docstring.

This commit is contained in:
Itamar Turner-Trauring 2022-07-22 11:55:00 -04:00
parent 36b96a8776
commit 2b3a8ddeec

View File

@ -413,6 +413,9 @@ class MutableShareFile(object):
return datav
def get_length(self):
"""
Return the length of the data in the share.
"""
f = open(self.home, 'rb')
data_length = self._read_data_length(f)
f.close()