MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / clearCachedTaskPath

Method clearCachedTaskPath

src/services/PomodoroService.ts:825–834  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

823 }
824
825 private clearCachedTaskPath(path: string): void {
826 if (this.lastWorkSessionTaskPath === path) {
827 this.lastWorkSessionTaskPath = undefined;
828 }
829
830 if (this.lastSelectedTaskPath === path) {
831 this.lastSelectedTaskPath = undefined;
832 this.lastSelectedTaskPathLoaded = true;
833 }
834 }
835
836 private async completePomodoro() {
837 this.stopTimer();

Callers 1

getAutoStartTaskMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected