MCPcopy Index your code
hub / github.com/treeverse/dvc / _path

Function _path

dvc/repo/diff.py:13–16  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

11
12
13def _path(entry):
14 if entry and entry.meta and entry.meta.isdir:
15 return os.path.join(*entry.key, "")
16 return os.path.join(*entry.key)
17
18
19def _hash(entry):

Callers 1

_diffFunction · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected