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

Method isdir

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

Source from the content-addressed store, hash-verified

653 return self.fs.is_empty(self.fs_path)
654
655 def isdir(self) -> bool:
656 if self._is_path_dvcignore(self.fs_path):
657 return False
658 return self.fs.isdir(self.fs_path)
659
660 def isfile(self) -> bool:
661 if self._is_path_dvcignore(self.fs_path):

Callers 15

saveMethod · 0.95
__init__Method · 0.80
verify_metricMethod · 0.80
transferMethod · 0.80
check_ignoreMethod · 0.80
is_ignoredMethod · 0.80
removeFunction · 0.80
resolve_outputFunction · 0.80
resolve_pathsFunction · 0.80
_runMethod · 0.80
flat_datapointsMethod · 0.80
load_fromMethod · 0.80

Calls 1

_is_path_dvcignoreMethod · 0.95

Tested by 15

test_partial_removeFunction · 0.64
test_cloud_cliFunction · 0.64
test_import_url_to_dirFunction · 0.64
test_cleanfs_subrepoFunction · 0.64
test_relative_remoteFunction · 0.64
test_api_initFunction · 0.64
test_cli_initFunction · 0.64
test_double_initFunction · 0.64
test_import_to_dirFunction · 0.64
test_repro_no_commitFunction · 0.64
test_makedirsFunction · 0.64