Builds a complete directory tree with include/exclude filtering.
Guarantees
- Deterministic ordering
- Zero recursion overflow (iterative walk)
- Minimal allocations
Extracts file contents and emits chunks.
Chunking Rules
- UTF‑8 safe
- Prefers newline boundaries
- Maximum chunk size configurable
| Field | Type | Description |
|---|---|---|
root |
Path | Root directory |
includeGlobs |
List | Include patterns |
excludeGlobs |
List | Exclude patterns |
| Field | Type | Description |
|---|---|---|
root |
Path | Root directory |
includeGlobs |
List | Include patterns |
excludeGlobs |
List | Exclude patterns |
maxChunkBytes |
int | Max chunk size |
maxFileSizeBytes |
long | Skip large files |
charset |
Charset | Default UTF‑8 |