MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / getAllFiles

Method getAllFiles

src/db/queries.ts:4275–4281  ·  view source on GitHub ↗

* Get all tracked files

()

Source from the content-addressed store, hash-verified

4273 * Get all tracked files
4274 */
4275 getAllFiles(): FileRecord[] {
4276 if (!this.stmts.getAllFiles) {
4277 this.stmts.getAllFiles = this.db.prepare('SELECT * FROM files ORDER BY path');
4278 }
4279 const rows = this.stmts.getAllFiles.all() as FileRow[];
4280 return rows.map(rowToFileRecord);
4281 }
4282
4283 /**
4284 * Files stored with no nodes or with recorded extraction errors — the only

Callers 1

getStaleFilesMethod · 0.95

Calls 3

mapMethod · 0.80
prepareMethod · 0.65
allMethod · 0.65

Tested by

no test coverage detected