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

Function isPrimaryNotesAtRoot

packages/app-core/src/lib/vault-layout.ts:785–789  ·  view source on GitHub ↗
(
  settings: VaultSettings | null | undefined
)

Source from the content-addressed store, hash-verified

783}
784
785export function isPrimaryNotesAtRoot(
786 settings: VaultSettings | null | undefined
787): boolean {
788 return normalizeVaultSettings(settings).primaryNotesLocation === 'root'
789}
790
791export function notePathWithinFolder(
792 path: string,

Callers 12

BreadcrumbFunction · 0.90
NoteListFunction · 0.90
folderLabelFunction · 0.90
vaultRelativeFolderPathFunction · 0.90
SidebarFunction · 0.90
folderLabelForFunction · 0.90
noteTargetForFunction · 0.90
vaultRelativeFolderPathFunction · 0.90
notePathWithinFolderFunction · 0.85
assetPathWithinFolderFunction · 0.85

Calls 1

normalizeVaultSettingsFunction · 0.70

Tested by

no test coverage detected