mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-07 10:56:49 +00:00
Docstring.
This commit is contained in:
parent
36b96a8776
commit
2b3a8ddeec
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user