MCPcopy
hub / github.com/callumalpass/tasknotes / getTaskPathsByStatus

Method getTaskPathsByStatus

src/utils/TaskManager.ts:773–778  ·  view source on GitHub ↗

* Get tasks by status from the filter index.

(status: string)

Source from the content-addressed store, hash-verified

771 * Get tasks by status from the filter index.
772 */
773 getTaskPathsByStatus(status: string): string[] {
774 const expectedStatus =
775 normalizeStatusConfigValue(status, this.settings.customStatuses) ?? status;
776 this.ensureFilterIndexes();
777 return Array.from(this.statusIndex.get(expectedStatus) ?? []);
778 }
779
780 /**
781 * Get tasks by priority from the filter index.

Calls 2

ensureFilterIndexesMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected