* Get all tracked file paths (lightweight — no full FileRecord objects)
()
| 4706 | * Get all tracked file paths (lightweight — no full FileRecord objects) |
| 4707 | */ |
| 4708 | getAllFilePaths(): string[] { |
| 4709 | if (!this.stmts.getAllFilePaths) { |
| 4710 | this.stmts.getAllFilePaths = this.db.prepare('SELECT path FROM files ORDER BY path'); |
| 4711 | } |
| 4712 | const rows = this.stmts.getAllFilePaths.all() as Array<{ path: string }>; |
| 4713 | return rows.map((r) => r.path); |
| 4714 | } |
| 4715 | |
| 4716 | /** |
| 4717 | * Get all distinct node names (lightweight — just name strings for pre-filtering) |