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

Method spillToDisk

source code/utils/task/TaskOutput.ts:364–368  ·  view source on GitHub ↗

Force all buffered content to disk. Call when backgrounding.

()

Source from the content-addressed store, hash-verified

362
363 /** Force all buffered content to disk. Call when backgrounding. */
364 spillToDisk(): void {
365 if (!this.#disk) {
366 this.#spillToDisk(null, null)
367 }
368 }
369
370 async flush(): Promise<void> {
371 await this.#disk?.flush()

Callers 1

backgroundMethod · 0.80

Calls 1

#spillToDiskMethod · 0.95

Tested by

no test coverage detected