ultimate-mcp-server
Version:
The definitive all-in-one Model Context Protocol server for AI-assisted coding across 30+ platforms
28 lines • 714 B
TypeScript
export interface FileInfo {
path: string;
content: string;
size: number;
extension: string;
}
export interface FileCollectionOptions {
pattern: RegExp;
exclude?: RegExp;
maxFileSize?: number;
maxTotalSize?: number;
followSymlinks?: boolean;
}
export declare class FileCollector {
private totalSize;
private fileCount;
private skippedCount;
collectFiles(rootPath: string, options: FileCollectionOptions): Promise<FileInfo[]>;
private scanDirectory;
private processFile;
private shouldIgnorePath;
getStats(): {
fileCount: number;
skippedCount: number;
totalSize: number;
};
}
//# sourceMappingURL=file-collector.d.ts.map