UNPKG

@shutootaki/gwm

Version:
22 lines 698 B
import type { TrustCache, TrustedRepo } from './types.js'; /** * Get the path to the trust cache file */ export declare function getTrustCachePath(): string; /** * Load the trust cache */ export declare function loadTrustCache(): TrustCache; /** * Save the trust cache */ export declare function saveTrustCache(cache: TrustCache): void; /** * Register a repository as trusted */ export declare function trustRepository(repoRoot: string, configPath: string, configHash: string, commands: string[]): void; /** * Get trusted info for a repository (returns null if not found) */ export declare function getTrustedInfo(repoRoot: string): TrustedRepo | null; //# sourceMappingURL=cache.d.ts.map