MCPcopy
hub / github.com/diego3g/rocketredis / IKeyContent

Interface IKeyContent

src/services/key/LoadKeyContent.ts:3–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected