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

Function SCM

dvc/scm.py:72–77  ·  view source on GitHub ↗
(
    root_dir: str,
    *,
    search_parent_directories: bool = ...,
    no_scm: Literal[False] = ...,
)

Source from the content-addressed store, hash-verified

70
71@overload
72def SCM(
73 root_dir: str,
74 *,
75 search_parent_directories: bool = ...,
76 no_scm: Literal[False] = ...,
77) -> "Git": ...
78
79
80@overload

Callers 9

_get_repo_dirsMethod · 0.90
__init__Method · 0.90
scmMethod · 0.90
initFunction · 0.90
scmMethod · 0.90
test_init_noneFunction · 0.90
test_init_gitFunction · 0.90
test_init_no_gitFunction · 0.90
test_init_sub_dirFunction · 0.90

Calls 1

map_scm_exceptionFunction · 0.85

Tested by 4

test_init_noneFunction · 0.72
test_init_gitFunction · 0.72
test_init_no_gitFunction · 0.72
test_init_sub_dirFunction · 0.72