(path: string, context?: TaskNotesMutationContext)
| 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, |
no test coverage detected