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

Function folderSelectionKey

packages/app-core/src/components/Sidebar.tsx:277–279  ·  view source on GitHub ↗
(folder: NoteFolder, subpath: string)

Source from the content-addressed store, hash-verified

275}
276
277function folderSelectionKey(folder: NoteFolder, subpath: string): string {
278 return `folder:${folder}:${encodeURIComponent(subpath)}`;
279}
280
281function selectionKeyForItem(item: SidebarSelectionItem): string {
282 return item.kind === "note"

Callers 3

selectionKeyForItemFunction · 0.85
SidebarFunction · 0.85
SubTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected