MCPcopy Create free account
hub / github.com/SethGammon/Citadel / buildTaskMap

Function buildTaskMap

core/fleet/session.js:149–153  ·  view source on GitHub ↗
(tasks)

Source from the content-addressed store, hash-verified

147 ].join('\n');
148}
149
150function buildTaskMap(tasks) {
151 const map = new Map();
152 for (const task of tasks) map.set(taskId(task), task);
153 return map;
154}
155
156function dependencyStatus(task, taskMap) {

Callers 3

getReadyTasksFunction · 0.85
getBlockedTasksFunction · 0.85
validateMergeOrderFunction · 0.85

Calls 1

taskIdFunction · 0.85

Tested by

no test coverage detected