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

Method cleanup

dvc/repo/experiments/executor/local.py:247–255  ·  view source on GitHub ↗
(self, infofile: Optional[str] = None)

Source from the content-addressed store, hash-verified

245 pass
246
247 def cleanup(self, infofile: Optional[str] = None):
248 super().cleanup(infofile)
249 if infofile:
250 remove(os.path.dirname(infofile))
251 with self._detach_stack:
252 self.scm.remove_ref(EXEC_BASELINE)
253 self.scm.remove_ref(EXEC_MERGE)
254 if self.scm.get_ref(EXEC_BRANCH):
255 self.scm.remove_ref(EXEC_BRANCH)

Callers

nothing calls this directly

Calls 2

removeFunction · 0.90
cleanupMethod · 0.45

Tested by

no test coverage detected