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

Method getAllFilePaths

src/db/queries.ts:5036–5042  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

5034 * Get all tracked file paths (lightweight — no full FileRecord objects)
5035 */
5036 getAllFilePaths(): string[] {
5037 if (!this.stmts.getAllFilePaths) {
5038 this.stmts.getAllFilePaths = this.db.prepare('SELECT path FROM files ORDER BY path');
5039 }
5040 const rows = this.stmts.getAllFilePaths.all() as Array<{ path: string }>;
5041 return rows.map((r) => r.path);
5042 }
5043
5044 /**
5045 * 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