MCPcopy Create free account
hub / github.com/Noumena-Network/code / buildBumpValue

Function buildBumpValue

src/commands/break-cache/break-cache.ts:58–62  ·  view source on GitHub ↗
(reason: string | null)

Source from the content-addressed store, hash-verified

56}
57
58function buildBumpValue(reason: string | null): string {
59 const sanitized = sanitizeValue(reason ?? '')
60 const label = sanitized.length > 0 ? sanitized : 'manual'
61 return `${label}|${Date.now()}|${randomUUID().slice(0, 8)}`
62}
63
64function setInjectionAndDescribe(
65 nextValue: string | null,

Callers 1

callFunction · 0.85

Calls 2

randomUUIDFunction · 0.90
sanitizeValueFunction · 0.85

Tested by

no test coverage detected