| 1 | import { connection } from '../RedisConnection' |
| 2 | |
| 3 | export interface IKeyContent { |
| 4 | content: string | null |
| 5 | type: 'hash' | 'list' | 'string' | 'set' | 'zset' |
| 6 | } |
| 7 | |
| 8 | export async function loadKeyContent(key: string): Promise<IKeyContent> { |
| 9 | if (!connection) { |
nothing calls this directly
no outgoing calls
no test coverage detected