MCPcopy Index your code
hub / github.com/codeaashu/claude-code / deleteOutputFile

Method deleteOutputFile

src/utils/task/TaskOutput.ts:373–379  ·  view source on GitHub ↗

Delete the output file (fire-and-forget safe).

()

Source from the content-addressed store, hash-verified

371
372 /** Delete the output file (fire-and-forget safe). */
373 async deleteOutputFile(): Promise<void> {
374 try {
375 await unlink(this.path)
376 } catch {
377 // File may already be deleted or not exist
378 }
379 }
380
381 clear(): void {
382 this.#stdoutBuffer = ''

Callers 1

#handleExitMethod · 0.80

Calls 1

unlinkFunction · 0.85

Tested by

no test coverage detected