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

Method exists

dvc/output.py:581–585  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

579
580 @property
581 def exists(self):
582 if self._is_path_dvcignore(self.fs_path):
583 return False
584
585 return self.fs.exists(self.fs_path)
586
587 @cached_property
588 def index_key(self) -> tuple[str, "DataIndexKey"]:

Callers 15

_checkMethod · 0.45
get_dvc_infoFunction · 0.45
verify_metricMethod · 0.45
_update_trieMethod · 0.45
_update_sub_repoMethod · 0.45
initFunction · 0.45
verify_imageFunction · 0.45
test_no_plotsFunction · 0.45
test_partial_push_n_pullFunction · 0.45
test_push_incomplete_dirFunction · 0.45

Calls 1

_is_path_dvcignoreMethod · 0.95

Tested by 15

verify_imageFunction · 0.36
test_no_plotsFunction · 0.36
test_partial_push_n_pullFunction · 0.36
test_push_incomplete_dirFunction · 0.36
testMethod · 0.36
test_forceMethod · 0.36
test_gitignore_basicFunction · 0.36
test_checkout_empty_dirFunction · 0.36