(context: string, request: string)
| 61 | }; |
| 62 | |
| 63 | const _contextify = (context: string, request: string): string => { |
| 64 | return request |
| 65 | .split('!') |
| 66 | .map(r => absoluteToRequest(context, r)) |
| 67 | .join('!'); |
| 68 | }; |
| 69 | |
| 70 | const makeCacheableWithContext = (fn: (text: string, request: string) => string) => { |
| 71 | const cache = new WeakMap<object, Map<string, Map<string, string>>>(); |
nothing calls this directly
no test coverage detected