MCPcopy
hub / github.com/directus/directus / getSystemCache

Function getSystemCache

api/src/cache.ts:127–131  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

125}
126
127export async function getSystemCache(key: string): Promise<Record<string, any>> {
128 const { systemCache } = getCache();
129
130 return await getCacheValue(systemCache, key);
131}
132
133export function setMemorySchemaCache(schema: SchemaOverview) {
134 if (Object.isFrozen(schema)) {

Callers

nothing calls this directly

Calls 2

getCacheValueFunction · 0.85
getCacheFunction · 0.70

Tested by

no test coverage detected