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

Function matchDirectoryPattern

packages/app-core/src/lib/vault-layout.ts:417–420  ·  view source on GitHub ↗
(pattern: string, text: string)

Source from the content-addressed store, hash-verified

415}
416
417function matchDirectoryPattern(pattern: string, text: string): DateNotePatternMatch | null {
418 if (!shouldFormatDirectoryPattern(pattern)) return pattern === text ? {} : null
419 return matchDateNotePattern(pattern, text)
420}
421
422export function dateNoteDirectoryDisplayLabel(
423 pattern: string,

Callers 2

patternNumericsFunction · 0.85

Calls 2

matchDateNotePatternFunction · 0.85

Tested by

no test coverage detected