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

Method remove

dvc/dvcfile.py:364–370  ·  view source on GitHub ↗
(self, force=False)

Source from the content-addressed store, hash-verified

362 return self.lockfile_contents.get("datasets", [])
363
364 def remove(self, force=False):
365 if not force:
366 logger.warning("Cannot remove pipeline file.")
367 return
368
369 super().remove()
370 self._lockfile.remove()
371
372 def remove_stage(self, stage):
373 self._check_if_parametrized(stage, "remove")

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected