chore: include pre-built dist for github install

This commit is contained in:
Robin Mordasiewicz
2026-03-14 04:56:50 +00:00
parent a7f0a4cf46
commit bce8ff3a75
1011 changed files with 150081 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import type { RuleMetadata } from "./types";
export interface MatchResult {
applies: boolean;
reason?: string;
}
/**
* Check if a rule should apply to the current file based on metadata
*/
export declare function shouldApplyRule(metadata: RuleMetadata, currentFilePath: string, projectRoot: string | null): MatchResult;
/**
* Check if realPath already exists in cache (symlink deduplication)
*/
export declare function isDuplicateByRealPath(realPath: string, cache: Set<string>): boolean;
/**
* Create SHA-256 hash of content, truncated to 16 chars
*/
export declare function createContentHash(content: string): string;
/**
* Check if content hash already exists in cache
*/
export declare function isDuplicateByContentHash(hash: string, cache: Set<string>): boolean;