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

Function read

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

Source from the content-addressed store, hash-verified

13 return {
14 name: `${primary.name}-with-${secondary.name}-fallback`,
15 read(): SecureStorageData {
16 const result = primary.read()
17 if (result !== null && result !== undefined) {
18 return result
19 }
20 return secondary.read() || {}
21 },
22 async readAsync(): Promise<SecureStorageData | null> {
23 const result = await primary.readAsync()
24 if (result !== null && result !== undefined) {

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected