MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / IndexerOptions

Interface IndexerOptions

src/codegraph/indexer.ts:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20const MAX_FILE_SIZE = 1 * 1024 * 1024; // 1MB — anything bigger is unlikely to be hand-written code
21
22export interface IndexerOptions {
23 /** Force re-index every file, ignoring mtime/hash cache. */
24 force?: boolean;
25 /** AbortSignal for cancellation. */
26 signal?: AbortSignal;
27 /** Called periodically with progress info. */
28 onProgress?: (info: { processed: number; total: number; currentFile?: string }) => void;
29}
30
31export interface IndexResult {
32 filesScanned: number;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected