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

Method invalidateNoteMetaCache

apps/server/internal/vault/vault.go:215–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213}
214
215func (v *Vault) invalidateNoteMetaCache() {
216 v.metaCacheMu.Lock()
217 v.metaCache = map[string]noteMetaCacheEntry{}
218 v.metaCacheLoad = false
219 v.metaCacheGen++
220 v.metaCacheMu.Unlock()
221}
222
223func (v *Vault) invalidateTextSearchCache() {
224 v.searchCacheMu.Lock()

Calls

no outgoing calls