MCPcopy
hub / github.com/treeverse/dvc / get_url_for

Method get_url_for

dvc/data_cloud.py:352–355  ·  view source on GitHub ↗
(self, remote, checksum)

Source from the content-addressed store, hash-verified

350 )
351
352 def get_url_for(self, remote, checksum):
353 odb = self.get_remote_odb(remote)
354 path = odb.oid_to_path(checksum)
355 return odb.fs.unstrip_protocol(path)

Callers

nothing calls this directly

Calls 2

get_remote_odbMethod · 0.95
oid_to_pathMethod · 0.80

Tested by

no test coverage detected