Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ compares](#how-it-compares).

## What it does

- **Walk** a repo deterministically: ignore lists, binary/lockfile skips, a size
cap, symlink-cycle guard. No file-count cap unless you ask for one
(`--max-files`), and asking sets the `capped` flag — never a silent
truncation.
- **Walk** a repo deterministically: ignore lists, `.gitignore` and
`.git/info/exclude`, binary/lockfile skips, a size cap, symlink-cycle guard.
Nested repositories (a subdirectory with its own `.git` — linked worktrees,
vendored clones, submodules) are skipped like git does, and `.git` itself is
never walked even when `--ignore-dir` replaces the default ignore list. No
file-count cap unless you ask for one (`--max-files`), and asking sets the
`capped` flag — never a silent truncation.
- **Scan** every file into a `FileRecord`: classification, language, symbols,
imports, headings, hashes — with an incremental cache fastpath. Extraction
runs across worker threads by default (`--workers`, `CODEINDEX_WORKERS`);
Expand Down
2 changes: 2 additions & 0 deletions scripts/engine.browser.d.mts
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,8 @@ interface ResolveContext {
}[];
csharpNamespaces: Map<string, string[]>;
warnings: string[];
jsMemo?: Map<string, Resolution>;
dirFilesMemo?: Map<string, string[]>;
}
declare function buildResolveContext(scan: RepoScan): ResolveContext;
declare function resolveDocLink(fromRel: string, spec: string, ctx: ResolveContext): Resolution;
Expand Down
200 changes: 104 additions & 96 deletions scripts/engine.browser.mjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions scripts/engine.d.mts
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,8 @@ interface ResolveContext {
}[];
csharpNamespaces: Map<string, string[]>;
warnings: string[];
jsMemo?: Map<string, Resolution>;
dirFilesMemo?: Map<string, string[]>;
}
declare function buildResolveContext(scan: RepoScan): ResolveContext;
declare function resolveDocLink(fromRel: string, spec: string, ctx: ResolveContext): Resolution;
Expand Down
Loading
Loading