UNPKG

@gati-framework/cli

Version:

CLI tool for Gati framework - create, develop, build and deploy cloud-native applications

49 lines 1.07 kB
/** * @module cli/extractor/extraction-cache * @description File-level caching for incremental type extraction */ import type { CacheEntry } from './types.js'; /** * Cache manager for extracted types */ export declare class ExtractionCache { private cacheDir; private entries; constructor(cacheDir: string); /** * Load cache from disk */ private load; /** * Save cache to disk */ private save; /** * Get cache key for file and type */ private getCacheKey; /** * Get cached entry if file hasn't changed */ get(filePath: string, typeName: string): CacheEntry | null; /** * Set cache entry */ set(entry: CacheEntry): void; /** * Clear all cached entries */ clear(): void; /** * Invalidate entries for a specific file */ invalidateFile(filePath: string): void; /** * Get cache statistics */ getStats(): { total: number; sizeBytes: number; }; } //# sourceMappingURL=extraction-cache.d.ts.map