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

Function noteSelectionKey

packages/app-core/src/components/Sidebar.tsx:273–275  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

271 | { kind: "folder"; key: string; folder: NoteFolder; subpath: string; label: string };
272
273function noteSelectionKey(path: string): string {
274 return `note:${encodeURIComponent(path)}`;
275}
276
277function folderSelectionKey(folder: NoteFolder, subpath: string): string {
278 return `folder:${folder}:${encodeURIComponent(subpath)}`;

Callers 7

selectionKeyForItemFunction · 0.85
SidebarFunction · 0.85
WindowedLeafEntriesFunction · 0.85
FolderTreeContentsFunction · 0.85
SubTreeFunction · 0.85
Sidebar.tsxFile · 0.85
leafFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected