docfs
Version:
MCP server for accessing local file system content with intelligent search and listing tools
14 lines • 340 B
TypeScript
export interface CacheEntry<T> {
value: T;
expires: number;
}
export declare class LRUCache<T> {
private maxSize;
private ttl;
private cache;
constructor(maxSize: number, ttl: number);
get(key: string): T | undefined;
set(key: string, value: T): void;
clear(): void;
}
//# sourceMappingURL=cache.d.ts.map