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

Function getActiveTimeEntryCount

src/api/TaskNotesAPI.ts:3432–3434  ·  view source on GitHub ↗
(task: TaskInfo)

Source from the content-addressed store, hash-verified

3430}
3431
3432function getActiveTimeEntryCount(task: TaskInfo): number {
3433 return (task.timeEntries ?? []).filter((entry) => !entry.endTime).length;
3434}
3435
3436function hasNewArrayValue(before: string[] | undefined, after: string[] | undefined): boolean {
3437 const beforeValues = new Set(before ?? []);

Callers 1

normalizeUpdatedEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected