MCPcopy Create free account
hub / github.com/apache/trafficserver / show

Function show

tools/records/convert2yaml.py:97–100  ·  view source on GitHub ↗
(j)

Source from the content-addressed store, hash-verified

95 count = len(it)
96
97 def show(j):
98 x = int(size * j / count)
99 if not mute:
100 print("[{}{}] {}/{}".format("█" * x, "░" * (size - x), j, count), end='\r', file=out, flush=True)
101
102 show(0)
103 for i, item in enumerate(it):

Callers 1

progressbarFunction · 0.85

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected