MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / buildCacheKey

Function buildCacheKey

console/src/platform/shell/commandCache.ts:19–27  ·  view source on GitHub ↗
({
  organizationId,
  regionId,
}: {
  organizationId?: string;
  regionId: string;
})

Source from the content-addressed store, hash-verified

17};
18
19function buildCacheKey({
20 organizationId,
21 regionId,
22}: {
23 organizationId?: string;
24 regionId: string;
25}): string {
26 return `mz-shell-command-cache|${organizationId}|${regionId}`;
27}
28
29export function getCache({
30 organizationId,

Callers 2

getCacheFunction · 0.85
appendToCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected