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

Function clearPlanSlug

src/utils/plans.ts:62–65  ·  view source on GitHub ↗
(sessionId?: SessionId)

Source from the content-addressed store, hash-verified

60 * This should be called on /clear to ensure a fresh plan file is used.
61 */
62export function clearPlanSlug(sessionId?: SessionId): void {
63 const id = sessionId ?? getSessionId()
64 getPlanSlugCache().delete(id)
65}
66
67/**
68 * Clear ALL plan slug entries (all sessions).

Callers

nothing calls this directly

Calls 3

getSessionIdFunction · 0.85
getPlanSlugCacheFunction · 0.85
deleteMethod · 0.65

Tested by

no test coverage detected