* Get all tracked file paths (lightweight — no full FileRecord objects)
()
| 2136 | * Get all tracked file paths (lightweight — no full FileRecord objects) |
| 2137 | */ |
| 2138 | getAllFilePaths(): string[] { |
| 2139 | if (!this.stmts.getAllFilePaths) { |
| 2140 | this.stmts.getAllFilePaths = this.db.prepare('SELECT path FROM files ORDER BY path'); |
| 2141 | } |
| 2142 | const rows = this.stmts.getAllFilePaths.all() as Array<{ path: string }>; |
| 2143 | return rows.map((r) => r.path); |
| 2144 | } |
| 2145 | |
| 2146 | /** |
| 2147 | * Get all distinct node names (lightweight — just name strings for pre-filtering) |
no test coverage detected