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

Function pushKey

packages/app-core/src/store.ts:1044–1048  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

1042 const orderedKeys: string[] = []
1043 const seen = new Set<string>()
1044 const pushKey = (key: string): void => {
1045 if (seen.has(key)) return
1046 seen.add(key)
1047 orderedKeys.push(key)
1048 }
1049
1050 pushKey('quick:')
1051 if (!primaryNotesAtRoot) pushKey('inbox:')

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected