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

Method isfile

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

Source from the content-addressed store, hash-verified

658 return self.fs.isdir(self.fs_path)
659
660 def isfile(self) -> bool:
661 if self._is_path_dvcignore(self.fs_path):
662 return False
663 return self.fs.isfile(self.fs_path)
664
665 def ignore(self) -> None:
666 if not self.use_scm_ignore:

Callers 15

saveMethod · 0.95
set_execMethod · 0.95
is_ignoredMethod · 0.80
is_dvc_fileFunction · 0.80
_loadMethod · 0.80
_lsFunction · 0.80
_copy_pathMethod · 0.80
testMethod · 0.80
test_partial_removeFunction · 0.80
saveMethod · 0.80
_getMethod · 0.80
test_cloud_cliFunction · 0.80

Calls 1

_is_path_dvcignoreMethod · 0.95

Tested by 15

testMethod · 0.64
test_partial_removeFunction · 0.64
test_cloud_cliFunction · 0.64
test_cleanfs_subrepoFunction · 0.64
test_get_repo_fileFunction · 0.64
test_post_checkoutMethod · 0.64
test_addFunction · 0.64
test_add_unicodeFunction · 0.64
test_add_commitFunction · 0.64