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

Method update_msg

dvc/progress.py:105–110  ·  view source on GitHub ↗

Sets `msg` as a postfix and calls `update(n)`.

(self, msg: str, n: int = 1)

Source from the content-addressed store, hash-verified

103 self.refresh()
104
105 def update_msg(self, msg: str, n: int = 1) -> None:
106 """
107 Sets `msg` as a postfix and calls `update(n)`.
108 """
109 self.set_msg(msg)
110 self.update(n)
111
112 def set_msg(self, msg: str) -> None:
113 self.postfix["info"] = f" {msg} |"

Callers

nothing calls this directly

Calls 2

set_msgMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected