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

Method clear

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

Source from the content-addressed store, hash-verified

481 return self.fs.relpath(self.fs_path, self.repo.root_dir)
482
483 def clear(self):
484 self.hash_info = HashInfo.from_dict({})
485 self.meta = Meta.from_dict({})
486 self.obj = None
487 self.files = None
488
489 @property
490 def protocol(self):

Callers 15

loadMethod · 0.45
test_partial_push_n_pullFunction · 0.45
test_cloud_cliFunction · 0.45
test_missing_cacheFunction · 0.45
test_verify_hashesFunction · 0.45
test_pull_git_importsFunction · 0.45
cleanFunction · 0.45
test_loads_single_fileFunction · 0.45
test_list_bad_argsFunction · 0.45
test_diff_no_cacheFunction · 0.45

Calls 1

from_dictMethod · 0.45

Tested by 15

test_partial_push_n_pullFunction · 0.36
test_cloud_cliFunction · 0.36
test_missing_cacheFunction · 0.36
test_verify_hashesFunction · 0.36
test_pull_git_importsFunction · 0.36
cleanFunction · 0.36
test_loads_single_fileFunction · 0.36
test_list_bad_argsFunction · 0.36
test_diff_no_cacheFunction · 0.36
test_get_repo_broken_dirFunction · 0.36