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

Method getActiveTimeSession

src/main.ts:1311–1313  ·  view source on GitHub ↗

* Gets the active time tracking session for a task

(task: TaskInfo)

Source from the content-addressed store, hash-verified

1309 * Gets the active time tracking session for a task
1310 */
1311 getActiveTimeSession(task: TaskInfo) {
1312 return getActiveTimeEntry(task.timeEntries || []);
1313 }
1314
1315 /**
1316 * Check if a recurring task is completed for a specific date

Callers 14

buildMenuMethod · 0.80
buildActionsListMethod · 0.80
handlerFunction · 0.80
startTimeTrackingMethod · 0.80
stopTimeTrackingMethod · 0.80
getActiveTimeSessionsMethod · 0.80
getTaskTimeDataMethod · 0.80
getTaskTimeDataMethod · 0.80
getTrackedTasksMethod · 0.80
getActiveElapsedMsMethod · 0.80

Calls 1

getActiveTimeEntryFunction · 0.90

Tested by

no test coverage detected