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

Function dateNotePatternKey

packages/app-core/src/store.ts:2741–2743  ·  view source on GitHub ↗
(pattern: DateNotePatternSettings)

Source from the content-addressed store, hash-verified

2739const MAX_DATE_NOTE_PATTERN_HISTORY = 20
2740
2741function dateNotePatternKey(pattern: DateNotePatternSettings): string {
2742 return `${pattern.directory}\0${pattern.titlePattern ?? ''}\0${pattern.locale ?? ''}`
2743}
2744
2745function currentDailyPatternFromSettings(settings: VaultSettings): DateNotePatternSettings {
2746 return {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected