MCPcopy Create free account
hub / github.com/KartikLabhshetwar/foliox / CacheOptions

Interface CacheOptions

lib/utils/cache.ts:4–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { prisma } from './db';
3
4export interface CacheOptions {
5 ttl?: number;
6 tags?: string[];
7}
8
9export function getCacheKey(prefix: string, ...parts: string[]): string {
10 return `${prefix}:${parts.join(':')}`;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected