MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / clear

Method clear

source code/utils/task/TaskOutput.ts:383–391  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

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