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

Method getAllFilePaths

src/db/queries.ts:4708–4714  ·  view source on GitHub ↗

* Get all tracked file paths (lightweight — no full FileRecord objects)

()

Source from the content-addressed store, hash-verified

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)

Callers 13

pythonFilePathsMethod · 0.80
includedFileChangesMethod · 0.80
sparseCheckoutChangesMethod · 0.80
warmCachesMethod · 0.80
warmCachesYieldingMethod · 0.80
getGoModulesMethod · 0.80
createContextMethod · 0.80
manualMockNamesMethod · 0.80
projectPackageNamesMethod · 0.80
indexedPathsFunction · 0.80
indexedPathsFunction · 0.80

Calls 3

mapMethod · 0.80
prepareMethod · 0.65
allMethod · 0.65

Tested by 3

indexedPathsFunction · 0.64
indexedPathsFunction · 0.64
indexedPathsFunction · 0.64