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

Method getAllTimeEstimates

src/utils/TaskManager.ts:856–867  ·  view source on GitHub ↗

* Get all time estimates from the filter index.

()

Source from the content-addressed store, hash-verified

854 * Get all time estimates from the filter index.
855 */
856 getAllTimeEstimates(): Map<string, number> {
857 const estimates = new Map<string, number>();
858 this.ensureFilterIndexes();
859
860 for (const [path, entry] of this.taskFilterEntries) {
861 if (entry.timeEstimate !== undefined) {
862 estimates.set(path, entry.timeEstimate);
863 }
864 }
865
866 return estimates;
867 }
868
869 /**
870 * Get notes for a specific date (just-in-time)

Callers 1

Calls 2

ensureFilterIndexesMethod · 0.95
setMethod · 0.65

Tested by

no test coverage detected