MCPcopy Create free account
hub / github.com/bytebase/bytebase / keyOf

Function keyOf

frontend/src/plugins/ai/react/useDynamicSuggestions.ts:50–50  ·  view source on GitHub ↗
(metadata: string)

Source from the content-addressed store, hash-verified

48}
49
50const keyOf = (metadata: string) => String(hashCode(metadata));
51
52// ---------------------------------------------------------------------------
53// Framework-agnostic module store (replaces the Vue `reactive` cache). Entries

Callers 3

groupByFunction · 0.85
keyByFunction · 0.85
ensureEntryFunction · 0.85

Calls 1

hashCodeFunction · 0.90

Tested by

no test coverage detected