* Which engine built the current index: the package version + extraction * version stamped at the last full `indexAll`. Either field is null for an * index built before stamping existed (treated as stale). See * `extraction-version.ts` and `isIndexStale()`.
()
| 2302 | * `extraction-version.ts` and `isIndexStale()`. |
| 2303 | */ |
| 2304 | getIndexBuildInfo(): { version: string | null; extractionVersion: number | null } { |
| 2305 | const version = this.queries.getMetadata('indexed_with_version'); |
| 2306 | const ev = this.queries.getMetadata('indexed_with_extraction_version'); |
| 2307 | const parsed = ev != null ? parseInt(ev, 10) : NaN; |
| 2308 | return { version, extractionVersion: Number.isFinite(parsed) ? parsed : null }; |
| 2309 | } |
| 2310 | |
| 2311 | /** |
| 2312 | * True when the on-disk index was built by an engine whose extraction is |
no test coverage detected