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

Method read_from

webdav/client.py:1087–1088  ·  view source on GitHub ↗
(self, buff)

Source from the content-addressed store, hash-verified

1085 return self.client.check(self.urn.path())
1086
1087 def read_from(self, buff):
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())

Callers

nothing calls this directly

Calls 2

upload_fromMethod · 0.80
pathMethod · 0.80

Tested by

no test coverage detected