@pimzino/claude-code-spec-workflow
Version:
Automated workflows for Claude Code. Includes spec-driven development (Requirements → Design → Tasks → Implementation) with intelligent task execution, optional steering documents and streamlined bug fix workflow (Report → Analyze → Fix → Verify). We have
34 lines • 1.04 kB
TypeScript
/**
* Shared file caching utility for all context and content scripts
* Provides longer caching duration for better performance
*/
/**
* Get file content with caching
* @param filePath - Path to the file
* @returns File content or null if file doesn't exist
*/
export declare function getCachedFileContent(filePath: string): string | null;
/**
* Check if a file exists (with caching for stat calls)
* @param filePath - Path to check
* @returns True if file exists
*/
export declare function cachedFileExists(filePath: string): boolean;
/**
* Clear cache for a specific file or all files
* @param filePath - Optional specific file path to clear, if not provided clears all
*/
export declare function clearCache(filePath?: string): void;
/**
* Get cache statistics
* @returns Object with cache size and TTL info
*/
export declare function getCacheStats(): {
size: number;
ttl: number;
};
/**
* Clean expired cache entries
*/
export declare function cleanExpiredCache(): void;
//# sourceMappingURL=file-cache.d.ts.map