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

Function clean

tests/func/test_data_cloud.py:344–350  ·  view source on GitHub ↗
(outs, dvc=None)

Source from the content-addressed store, hash-verified

342
343
344def clean(outs, dvc=None):
345 if dvc:
346 dvc.cache.local.clear()
347 for path in outs:
348 remove(path)
349 if dvc:
350 clean_repos()
351
352
353def recurse_list_dir(d):

Callers 13

test_fetch_statsFunction · 0.70
test_pull_statsFunction · 0.70
test_push_pull_allFunction · 0.70
test_pull_partialFunction · 0.70
test_output_remoteFunction · 0.70
test_target_remoteFunction · 0.70

Calls 3

removeFunction · 0.90
clean_reposFunction · 0.90
clearMethod · 0.45

Tested by

no test coverage detected