mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-19 07:48:11 +00:00
make current upload/download status objects available from the client
This commit is contained in:
@ -280,3 +280,10 @@ class Client(node.Node, testutil.PollMixin):
|
||||
uploader = self.getServiceNamed("uploader")
|
||||
return uploader.upload(uploadable)
|
||||
|
||||
def list_uploads(self):
|
||||
uploader = self.getServiceNamed("uploader")
|
||||
return uploader.list_uploads()
|
||||
|
||||
def list_downloads(self):
|
||||
downloader = self.getServiceNamed("downloader")
|
||||
return downloader.list_downloads()
|
||||
|
Reference in New Issue
Block a user