(cacheKey: string, namespace = getCurrentCacheNamespace())
| 176 | } |
| 177 | |
| 178 | export function getScopedCacheKey(cacheKey: string, namespace = getCurrentCacheNamespace()) { |
| 179 | return namespace ? `${namespace}:${cacheKey}` : cacheKey; |
| 180 | } |
| 181 | |
| 182 | function getUnscopedCacheKey(cacheKey: string, namespace: string) { |
| 183 | const namespacePrefix = `${namespace}:`; |
no test coverage detected
searching dependent graphs…