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

Function getInstalledBinaryStatus

cli/release/index.js:585–592  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

583}
584
585function getInstalledBinaryStatus() {
586 try {
587 const stats = fs.statSync(CONFIG.binaryPath)
588 return stats.isFile() ? `yes (${formatBytes(stats.size)})` : 'no'
589 } catch {
590 return 'no'
591 }
592}
593
594function printSpawnFailure(err) {
595 resetTerminal()

Callers 1

printSpawnFailureFunction · 0.70

Calls 1

formatBytesFunction · 0.70

Tested by

no test coverage detected