(root?: string)
| 1693 | } |
| 1694 | |
| 1695 | export function invalidateVaultTextSearchCache(root?: string): void { |
| 1696 | if (!cachedVaultTextSearchCandidates) return |
| 1697 | if (!root || path.resolve(cachedVaultTextSearchCandidates.root) === path.resolve(root)) { |
| 1698 | cachedVaultTextSearchCandidates = null |
| 1699 | } |
| 1700 | } |
| 1701 | |
| 1702 | function noteMetaCacheKey(root: string, abs: string): string { |
| 1703 | return `${path.resolve(root)}\0${path.resolve(abs)}` |
no outgoing calls
no test coverage detected