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

Method getAllMetadata

src/db/queries.ts:5891–5898  ·  view source on GitHub ↗

* Get all metadata as a key-value record

()

Source from the content-addressed store, hash-verified

5889 * Get all metadata as a key-value record
5890 */
5891 getAllMetadata(): Record<string, string> {
5892 const rows = this.db.prepare('SELECT key, value FROM project_metadata').all() as { key: string; value: string }[];
5893 const result: Record<string, string> = {};
5894 for (const row of rows) {
5895 result[row.key] = row.value;
5896 }
5897 return result;
5898 }
5899
5900 /**
5901 * 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