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

Method merge

dvc/dvcfile.py:214–220  ·  view source on GitHub ↗
(self, ancestor, other, allowed=None)

Source from the content-addressed store, hash-verified

212 self.remove()
213
214 def merge(self, ancestor, other, allowed=None):
215 assert isinstance(ancestor, SingleStageFile)
216 assert isinstance(other, SingleStageFile)
217
218 stage = self.stage
219 stage.merge(ancestor.stage, other.stage, allowed=allowed)
220 self.dump(stage)
221
222
223class ProjectFile(FileMixin):

Callers

nothing calls this directly

Calls 2

dumpMethod · 0.95
mergeMethod · 0.45

Tested by

no test coverage detected