MCPcopy Create free account
hub / github.com/Xyntopia/taskyon / findAllFilesInTasks

Function findAllFilesInTasks

src/modules/taskManager.ts:215–221  ·  view source on GitHub ↗
(taskList: LLMTask[])

Source from the content-addressed store, hash-verified

213}
214
215export function findAllFilesInTasks(taskList: LLMTask[]): string[] {
216 const fileSet = new Set<string>();
217 taskList.forEach((task) => {
218 (task.context?.uploadedFiles || []).forEach((file) => fileSet.add(file));
219 });
220 return Array.from(fileSet);
221}
222
223export function addTask2Tree(
224 task: partialTaskDraft,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected