* Get all tracked file paths (lightweight — no full FileRecord objects)
()
| 2388 | * Get all tracked file paths (lightweight — no full FileRecord objects) |
| 2389 | */ |
| 2390 | getAllFilePaths(): string[] { |
| 2391 | if (!this.stmts.getAllFilePaths) { |
| 2392 | this.stmts.getAllFilePaths = this.db.prepare('SELECT path FROM files ORDER BY path'); |
| 2393 | } |
| 2394 | const rows = this.stmts.getAllFilePaths.all() as Array<{ path: string }>; |
| 2395 | return rows.map((r) => r.path); |
| 2396 | } |
| 2397 | |
| 2398 | /** |
| 2399 | * Get all distinct node names (lightweight — just name strings for pre-filtering) |
no test coverage detected