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

Method getAllMetadata

src/db/queries.ts:6010–6017  ·  view source on GitHub ↗

* Get all metadata as a key-value record

()

Source from the content-addressed store, hash-verified

6008 * Get all metadata as a key-value record
6009 */
6010 getAllMetadata(): Record<string, string> {
6011 const rows = this.db.prepare('SELECT key, value FROM project_metadata').all() as { key: string; value: string }[];
6012 const result: Record<string, string> = {};
6013 for (const row of rows) {
6014 result[row.key] = row.value;
6015 }
6016 return result;
6017 }
6018
6019 /**
6020 * Clear all data from the database

Callers

nothing calls this directly

Calls 2

allMethod · 0.65
prepareMethod · 0.65

Tested by

no test coverage detected