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

Method close

dvc/progress.py:135–141  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

133 return wrapped
134
135 def close(self):
136 self.postfix["info"] = ""
137 # remove ETA (either unknown or zero); remove completed bar
138 self.bar_format = self.bar_format.replace("<{remaining}", "").replace(
139 "|{bar:10}|", " "
140 )
141 super().close()
142
143 @property
144 def format_dict(self):

Callers 15

_fork_processFunction · 0.45
unlockMethod · 0.45
test_open_bareFunction · 0.45
test_pullFunction · 0.45
test_pushFunction · 0.45
test_statusFunction · 0.45
test_reproFunction · 0.45
test_removeFunction · 0.45
test_addFunction · 0.45
test_checkoutFunction · 0.45

Calls 1

replaceMethod · 0.45

Tested by 15

test_open_bareFunction · 0.36
test_pullFunction · 0.36
test_pushFunction · 0.36
test_statusFunction · 0.36
test_reproFunction · 0.36
test_removeFunction · 0.36
test_addFunction · 0.36
test_checkoutFunction · 0.36
test_api_initFunction · 0.36