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

Method close

dvc/repo/__init__.py:656–662  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

654 return os.path.join(repos_dir, repo_token)
655
656 def close(self):
657 self.scm.close()
658 self.state.close()
659 if "dvcfs" in self.__dict__:
660 self.dvcfs.close()
661 if self._data_index is not None:
662 self._data_index.close()
663
664 def _reset(self):
665 self.scm._reset()

Callers 15

runMethod · 0.95
_runMethod · 0.95
__exit__Method · 0.95
_get_remote_configFunction · 0.95
initFunction · 0.95
saveMethod · 0.95
test_branch_configFunction · 0.95
_dumpFunction · 0.45
mainFunction · 0.45
destroyFunction · 0.45
drop_data_indexMethod · 0.45
_resetMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_branch_configFunction · 0.76