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

Method info

dvc/fs/dvc.py:442–445  ·  view source on GitHub ↗
(self, path, **kwargs)

Source from the content-addressed store, hash-verified

440 return infos
441
442 def info(self, path, **kwargs):
443 key = self._get_key_from_relative(path)
444 ignore_subrepos = kwargs.get("ignore_subrepos", True)
445 return self._info(key, path, ignore_subrepos=ignore_subrepos)
446
447 def _info( # noqa: C901
448 self, key, path, ignore_subrepos=True, check_ignored=True

Callers 15

isdvcMethod · 0.95
duMethod · 0.95
askFunction · 0.45
passwordFunction · 0.45
_dump_pipeline_fileMethod · 0.45
dump_datasetMethod · 0.45
dump_stagesMethod · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
display_commandFunction · 0.45
cmd_runFunction · 0.45

Calls 3

_infoMethod · 0.95
getMethod · 0.45

Tested by 15

test_filesystemMethod · 0.36
test_walkFunction · 0.36
test_infoMethod · 0.36
test_info_not_existingFunction · 0.36
test_info_git_only_dirsFunction · 0.36
test_info_dvc_only_dirsFunction · 0.36
test_info_on_subreposFunction · 0.36