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

Method getAllFiles

src/db/queries.ts:4386–4392  ·  view source on GitHub ↗

* Get all tracked files

()

Source from the content-addressed store, hash-verified

4384 * Get all tracked files
4385 */
4386 getAllFiles(): FileRecord[] {
4387 if (!this.stmts.getAllFiles) {
4388 this.stmts.getAllFiles = this.db.prepare('SELECT * FROM files ORDER BY path');
4389 }
4390 const rows = this.stmts.getAllFiles.all() as FileRow[];
4391 return rows.map(rowToFileRecord);
4392 }
4393
4394 /**
4395 * 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