@shutootaki/gwm
Version:
git worktree manager CLI
19 lines • 701 B
TypeScript
/**
* 候補プロバイダ用キャッシュ機構
* Kiro/Fig generator の高頻度実行に備えて1秒TTLでキャッシュ
*/
import type { CompletionCandidate } from './types.js';
/**
* キャッシュから値を取得
* @returns キャッシュヒット時は候補配列、ミス時はnull
*/
export declare function getCached(providerId: string, repoRoot: string): CompletionCandidate[] | null;
/**
* キャッシュに値を設定
*/
export declare function setCache(providerId: string, repoRoot: string, value: CompletionCandidate[]): void;
/**
* 全キャッシュをクリア(テスト用)
*/
export declare function clearCache(): void;
//# sourceMappingURL=cache.d.ts.map