MCPcopy Index your code
hub / github.com/liuup/claude-code-analysis / clear

Method clear

src/utils/task/TaskOutput.ts:381–389  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

379 }
380
381 clear(): void {
382 this.#stdoutBuffer = ''
383 this.#stderrBuffer = ''
384 this.#recentLines.clear()
385 this.#onProgress = null
386 this.#disk?.cancel()
387 TaskOutput.stopPolling(this.taskId)
388 TaskOutput.#registry.delete(this.taskId)
389 }
390}

Callers 15

execFunction · 0.95
clearMTLSCacheFunction · 0.45
clearClassifierApprovalsFunction · 0.45
resetSentSkillNamesFunction · 0.45
clearStoredImagePathsFunction · 0.45
memoizeWithTTLFunction · 0.45
memoizeWithTTLAsyncFunction · 0.45
memoizeWithLRUFunction · 0.45
clearSessionEnvVarsFunction · 0.45

Calls 3

cancelMethod · 0.80
stopPollingMethod · 0.80
deleteMethod · 0.80

Tested by

no test coverage detected