MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / createProgressBar

Function createProgressBar

freebuff/cli/release/index.js:300–304  ·  view source on GitHub ↗
(percentage, width = 30)

Source from the content-addressed store, hash-verified

298}
299
300function createProgressBar(percentage, width = 30) {
301 const filled = Math.round((width * percentage) / 100)
302 const empty = width - filled
303 return '[' + '█'.repeat(filled) + '░'.repeat(empty) + ']'
304}
305
306async function downloadBinary(version) {
307 const platformKey = `${process.platform}-${process.arch}`

Callers 1

downloadBinaryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected