MCPcopy
hub / github.com/codeaashu/claude-code / trackWrite

Method trackWrite

src/utils/sessionStorage.ts:597–604  ·  view source on GitHub ↗
(fn: () => Promise<T>)

Source from the content-addressed store, hash-verified

595 }
596
597 private async trackWrite<T>(fn: () => Promise<T>): Promise<T> {
598 this.incrementPendingWrites()
599 try {
600 return await fn()
601 } finally {
602 this.decrementPendingWrites()
603 }
604 }
605
606 private enqueueWrite(filePath: string, entry: Entry): Promise<void> {
607 return new Promise<void>(resolve => {

Callers 6

removeMessageByUuidMethod · 0.95
insertMessageChainMethod · 0.95
insertQueueOperationMethod · 0.95

Calls 2

Tested by

no test coverage detected