MCPcopy Create free account
hub / github.com/CloudPolis/webdav-client-python / read

Method read

webdav/client.py:1090–1091  ·  view source on GitHub ↗
(self, local_path)

Source from the content-addressed store, hash-verified

1088 self.client.upload_from(buff=buff, remote_path=self.urn.path())
1089
1090 def read(self, local_path):
1091 return self.client.upload_sync(local_path=local_path, remote_path=self.urn.path())
1092
1093 def read_async(self, local_path, callback=None):
1094 return self.client.upload_async(local_path=local_path, remote_path=self.urn.path(), callback=callback)

Callers 1

setup.pyFile · 0.80

Calls 2

upload_syncMethod · 0.80
pathMethod · 0.80

Tested by

no test coverage detected