MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / rcLogClear

Function rcLogClear

src/bridge/rcDebugLog.ts:37–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36/** Clear the log file at session start. */
37export function rcLogClear(): void {
38 try {
39 ensureLogDir()
40 appendFileSync(LOG_PATH, '')
41 } catch {}
42}

Callers

nothing calls this directly

Calls 2

ensureLogDirFunction · 0.85
appendFileSyncFunction · 0.85

Tested by

no test coverage detected