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

Method copy

webdav/client.py:1067–1071  ·  view source on GitHub ↗
(self, remote_path)

Source from the content-addressed store, hash-verified

1065 self.urn = new_urn
1066
1067 def copy(self, remote_path):
1068
1069 urn = Urn(remote_path)
1070 self.client.copy(remote_path_from=self.urn.path(), remote_path_to=remote_path)
1071 return Resource(self.client, urn)
1072
1073 def info(self, params=None):
1074

Callers

nothing calls this directly

Calls 4

UrnClass · 0.90
ResourceClass · 0.85
pathMethod · 0.80
copyMethod · 0.45

Tested by

no test coverage detected