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

Method relparts

dvc/fs/dvc.py:205–206  ·  view source on GitHub ↗
(self, path: str, start: Optional[str] = None)

Source from the content-addressed store, hash-verified

203 return posixpath.relpath(self.abspath(path), start=self.abspath(start))
204
205 def relparts(self, path: str, start: Optional[str] = None) -> tuple[str, ...]:
206 return self.parts(self.relpath(path, start=start))
207
208 @functools.cached_property
209 def repo(self):

Callers 15

_getMethod · 0.95
index_keyMethod · 0.80
get_objMethod · 0.80
_get_keyMethod · 0.80
ls_urlFunction · 0.80
_merge_push_metaFunction · 0.80
_get_update_diff_indexFunction · 0.80
_lsFunction · 0.80
local_dvc_dirMethod · 0.80
get_data_index_entryMethod · 0.80
make_repoFunction · 0.80

Calls 2

partsMethod · 0.95
relpathMethod · 0.95

Tested by

no test coverage detected