MCPcopy Create free account
hub / github.com/alexankitty/Myrient-Search-Engine / singleLineStatus

Function singleLineStatus

lib/database/dboptimize.js:117–125  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

115}
116
117function singleLineStatus(str) {
118 if (process.stdout.isTTY && process.env.DEBUG != "1") {
119 process.stdout.clearLine(0);
120 process.stdout.cursorTo(0);
121 process.stdout.write(str);
122 } else {
123 console.log(str);
124 }
125}

Callers 1

optimizeDatabaseKwsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected