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

Function clearCliDebugLog

cli/src/__tests__/test-utils.ts:261–267  ·  view source on GitHub ↗
(logPath: string)

Source from the content-addressed store, hash-verified

259 * Clear the CLI debug log file
260 */
261export function clearCliDebugLog(logPath: string): void {
262 try {
263 fs.writeFileSync(logPath, '')
264 } catch {
265 // Ignore errors
266 }
267}

Calls

no outgoing calls

Tested by

no test coverage detected