MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / clearScheduledPersistNoteMetaCache

Function clearScheduledPersistNoteMetaCache

apps/desktop/src/main/vault.ts:1853–1857  ·  view source on GitHub ↗
(rootAbs: string)

Source from the content-addressed store, hash-verified

1851}
1852
1853function clearScheduledPersistNoteMetaCache(rootAbs: string): void {
1854 const existing = noteMetaCachePersistTimers.get(rootAbs)
1855 if (existing) clearTimeout(existing)
1856 noteMetaCachePersistTimers.delete(rootAbs)
1857}
1858
1859export function invalidateNoteMetaCache(root: string, rel?: string): void {
1860 const rootAbs = path.resolve(root)

Callers 2

invalidateNoteMetaCacheFunction · 0.85

Calls 1

deleteMethod · 0.80

Tested by

no test coverage detected