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

Method getTask

src/api/TaskNotesAPI.ts:1834–1837  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

1832 }
1833
1834 async getTask(path: string): Promise<TaskInfo | null> {
1835 const task = await this.plugin.cacheManager.getTaskInfo(this.normalizeTaskPath(path));
1836 return task ? copyTaskInfo(task) : null;
1837 }
1838
1839 async listTasks(query?: TaskNotesRuntimeTaskQuery): Promise<TaskInfo[]> {
1840 if (!query) {

Callers 1

TaskNotesAPIClass · 0.95

Calls 3

normalizeTaskPathMethod · 0.95
copyTaskInfoFunction · 0.85
getTaskInfoMethod · 0.65

Tested by

no test coverage detected