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