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

Method spillToDisk

src/utils/task/TaskOutput.ts:362–366  ·  view source on GitHub ↗

Force all buffered content to disk. Call when backgrounding.

()

Source from the content-addressed store, hash-verified

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

Callers 1

backgroundMethod · 0.80

Calls 1

#spillToDiskMethod · 0.95

Tested by

no test coverage detected