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

Method update_to

dvc/progress.py:115–118  ·  view source on GitHub ↗
(self, current, total=None)

Source from the content-addressed store, hash-verified

113 self.postfix["info"] = f" {msg} |"
114
115 def update_to(self, current, total=None):
116 if total:
117 self.total = total
118 self.update(current - self.n)
119
120 def wrap_fn(self, fn, callback=None):
121 """

Callers 1

update_gitMethod · 0.80

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected