MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / normalizePriority

Method normalizePriority

src/utils/TasksPluginParser.ts:496–503  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

494 }
495
496 private static normalizePriority(value: string | undefined): string | undefined {
497 if (!value) {
498 return undefined;
499 }
500
501 const normalized = value.trim().toLowerCase();
502 return PRIORITY_ALIASES[normalized] || normalized || undefined;
503 }
504
505 private static parseRecurrence(recurrenceText: string | undefined): RecurrenceParseResult {
506 const raw = recurrenceText?.trim();

Callers 2

consumePriorityFieldMethod · 0.95
applyDataviewFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected