MCPcopy
hub / github.com/Xyntax/POC-T / printProgress

Function printProgress

lib/controller/engine.py:156–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154
155
156def printProgress():
157 msg = '%s found | %s remaining | %s scanned in %.2f seconds' % (
158 th.found_count, th.queue.qsize(), th.scan_count, time.time() - th.start_time)
159 out = '\r' + ' ' * (th.console_width - len(msg)) + msg
160 dataToStdout(out)
161
162
163def output2file(msg):

Callers 1

scanFunction · 0.85

Calls 1

dataToStdoutFunction · 0.90

Tested by

no test coverage detected