MCPcopy Index your code
hub / github.com/codeaashu/claude-code / removeSessionCronTasks

Function removeSessionCronTasks

src/bootstrap/state.ts:1307–1315  ·  view source on GitHub ↗
(ids: readonly string[])

Source from the content-addressed store, hash-verified

1305 * were accounted for here.
1306 */
1307export function removeSessionCronTasks(ids: readonly string[]): number {
1308 if (ids.length === 0) return 0
1309 const idSet = new Set(ids)
1310 const remaining = STATE.sessionCronTasks.filter(t => !idSet.has(t.id))
1311 const removed = STATE.sessionCronTasks.length - remaining.length
1312 if (removed === 0) return 0
1313 STATE.sessionCronTasks = remaining
1314 return removed
1315}
1316
1317export function setSessionTrustAccepted(accepted: boolean): void {
1318 STATE.sessionTrustAccepted = accepted

Callers 2

removeCronTasksFunction · 0.85
processFunction · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected