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

Method stopTime

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

Source from the content-addressed store, hash-verified

2218 }
2219
2220 private async stopTime(path: string, context?: TaskNotesMutationContext): Promise<TaskInfo> {
2221 const task = await this.requireTask(path);
2222 const updatedTask = await this.withMutationContext([task.path], context, () =>
2223 this.plugin.taskService.stopTimeTracking(task)
2224 );
2225 return copyTaskInfo(updatedTask);
2226 }
2227
2228 private async appendTimeEntry(
2229 path: string,

Callers 2

TaskNotesAPIClass · 0.95
stopTimeEntryMethod · 0.95

Calls 4

requireTaskMethod · 0.95
withMutationContextMethod · 0.95
copyTaskInfoFunction · 0.85
stopTimeTrackingMethod · 0.45

Tested by

no test coverage detected