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

Function getInstalledBinaryStatus

freebuff/cli/release/index.js:572–579  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

570}
571
572function getInstalledBinaryStatus() {
573 try {
574 const stats = fs.statSync(CONFIG.binaryPath)
575 return stats.isFile() ? `yes (${formatBytes(stats.size)})` : 'no'
576 } catch {
577 return 'no'
578 }
579}
580
581function printSpawnFailure(err) {
582 resetTerminal()

Callers 1

printSpawnFailureFunction · 0.70

Calls 1

formatBytesFunction · 0.70

Tested by

no test coverage detected