MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / deleteTask

Method deleteTask

src/api/TaskNotesAPI.ts:2063–2068  ·  view source on GitHub ↗
(path: string, context?: TaskNotesMutationContext)

Source from the content-addressed store, hash-verified

2061 }
2062
2063 async deleteTask(path: string, context?: TaskNotesMutationContext): Promise<void> {
2064 const task = await this.requireTask(path);
2065 await this.withMutationContext([task.path], context, () =>
2066 this.plugin.taskService.deleteTask(task)
2067 );
2068 }
2069
2070 async uncompleteTask(
2071 path: string,

Callers 7

TaskNotesAPIClass · 0.95
buildMenuMethod · 0.45
batchDeleteMethod · 0.45
testTaskDeletionMethod · 0.45
tasknotes.spec.tsFile · 0.45

Calls 2

requireTaskMethod · 0.95
withMutationContextMethod · 0.95

Tested by

no test coverage detected