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

Method upload_sync

webdav/client.py:538–543  ·  view source on GitHub ↗
(self, remote_path, local_path, callback=None)

Source from the content-addressed store, hash-verified

536 raise NotConnection(self.webdav.hostname)
537
538 def upload_sync(self, remote_path, local_path, callback=None):
539
540 self.upload(local_path=local_path, remote_path=remote_path)
541
542 if callback:
543 callback()
544
545 def upload_async(self, remote_path, local_path, callback=None):
546

Callers 2

upload_asyncMethod · 0.95
readMethod · 0.80

Calls 1

uploadMethod · 0.95

Tested by

no test coverage detected