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

Function readAsync

source code/utils/secureStorage/fallbackStorage.ts:22–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 return secondary.read() || {}
21 },
22 async readAsync(): Promise<SecureStorageData | null> {
23 const result = await primary.readAsync()
24 if (result !== null && result !== undefined) {
25 return result
26 }
27 return (await secondary.readAsync()) || {}
28 },
29 update(data: SecureStorageData): { success: boolean; warning?: string } {
30 // Capture state before update
31 const primaryDataBefore = primary.read()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected