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

Function createProgressBar

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

Source from the content-addressed store, hash-verified

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

Callers 1

downloadBinaryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected