pury
Version:
🛡️ AI-powered security scanner with advanced threat detection, dual reporting system (detailed & summary), and comprehensive code analysis
20 lines • 761 B
TypeScript
export declare class PatternMatcher {
private includePatterns;
private excludePatterns;
constructor(include?: string[], exclude?: string[]);
shouldIncludeFile(filePath: string): boolean;
shouldIncludeDirectory(dirPath: string): boolean;
isTextFile(filePath: string): boolean;
isSupportedFile(filePath: string): boolean;
private getFileExtension;
addIncludePattern(pattern: string): void;
addExcludePattern(pattern: string): void;
removeIncludePattern(pattern: string): void;
removeExcludePattern(pattern: string): void;
getPatterns(): {
include: string[];
exclude: string[];
};
static createForLanguage(language: string): PatternMatcher;
}
//# sourceMappingURL=pattern-matcher.d.ts.map