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

Method remove

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

Source from the content-addressed store, hash-verified

156 )
157
158 def remove(self, force=False): # noqa: ARG002
159 with contextlib.suppress(FileNotFoundError):
160 os.unlink(self.path)
161
162 def dump(self, stage, **kwargs):
163 raise NotImplementedError

Callers 4

remove_stageMethod · 0.45
removeMethod · 0.45
remove_stageMethod · 0.45
remove_stageMethod · 0.45

Calls 1

unlinkMethod · 0.80

Tested by

no test coverage detected