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

Function shouldShowUpdateNotification

src/hooks/useUpdateNotification.ts:8–14  ·  view source on GitHub ↗
(
  updatedVersion: string,
  lastNotifiedSemver: string | null,
)

Source from the content-addressed store, hash-verified

6}
7
8export function shouldShowUpdateNotification(
9 updatedVersion: string,
10 lastNotifiedSemver: string | null,
11): boolean {
12 const updatedSemver = getSemverPart(updatedVersion)
13 return updatedSemver !== lastNotifiedSemver
14}
15
16export function useUpdateNotification(
17 updatedVersion: string | null | undefined,

Callers

nothing calls this directly

Calls 1

getSemverPartFunction · 0.85

Tested by

no test coverage detected