该目录是 src/utils 下的子模块,围绕 secureStorage 这一主题组织实现文件。
- 相对路径:
src/utils/secureStorage - 直接文件数:6
- 直接子目录数:0
- 递归文件数:6
- 主要文件类型:
.tsx 6
- 该目录最常引用的仓库内目录:
src/utils(10)、constants(1) - 最常引用该目录的仓库内目录:
src/services/mcp(5)、src/utils(3)、src/utils/plugins(2)、src(1)、src/components/messages(1)、src/bridge(1)、src/commands/logout(1)
| 文件 | 行数 | 导出/关键符号 | 说明 |
|---|---|---|---|
fallbackStorage.ts |
70 | createFallbackStorage |
存储读写逻辑;导出符号以 createFallbackStorage 为主,顶部注释说明:Creates a fallback storage that tries to use the primary storage first, and if that fails, falls back to the secondar... |
index.ts |
17 | getSecureStorage |
目录导出或注册入口;导出符号以 getSecureStorage 为主,顶部注释说明:Get the appropriate secure storage implementation for the current platform |
keychainPrefetch.ts |
116 | startKeychainPrefetch, ensureKeychainPrefetchCompleted, getLegacyApiKeyPrefetchResult, clearLegacyApiKeyPrefetch |
基础辅助逻辑;导出符号以 startKeychainPrefetch, ensureKeychainPrefetchCompleted, getLegacyApiKeyPrefetchResult, clearLegacyApiKeyPrefetch 为主,顶部注释说明:Minimal module for firing macOS keychain reads in parallel with main.tsx module evaluation, same pattern as startMdmR... |
macOsKeychainHelpers.ts |
111 | CREDENTIALS_SERVICE_SUFFIX, getMacOsKeychainStorageServiceName, getUsername, KEYCHAIN_CACHE_TTL_MS, keychainCacheState, clearKeychainCache |
辅助函数集合;导出符号以 CREDENTIALS_SERVICE_SUFFIX, getMacOsKeychainStorageServiceName, getUsername, KEYCHAIN_CACHE_TTL_MS 为主,顶部注释说明:Lightweight helpers shared between keychainPrefetch.ts and macOsKeychainStorage.ts. This module MUST NOT import execa... |
macOsKeychainStorage.ts |
231 | macOsKeychainStorage, isMacOsKeychainLocked |
存储读写逻辑;导出符号以 macOsKeychainStorage, isMacOsKeychainLocked 为主,结合所在目录可判断其服务于 src/utils/secureStorage 这条功能线。 |
plainTextStorage.ts |
84 | plainTextStorage |
存储读写逻辑;导出符号以 plainTextStorage 为主,结合所在目录可判断其服务于 src/utils/secureStorage 这条功能线。 |
该目录没有直接子目录。