MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / setMeta

Method setMeta

src/codegraph/schema.ts:219–221  ·  view source on GitHub ↗
(key: string, value: string)

Source from the content-addressed store, hash-verified

217 }
218
219 setMeta(key: string, value: string): void {
220 this.db.prepare(`INSERT OR REPLACE INTO meta (key, value) VALUES (?, ?)`).run(key, value);
221 }
222
223 getMeta(key: string): string | null {
224 const row = this.db.prepare(`SELECT value FROM meta WHERE key = ?`).get(key) as { value: string } | undefined;

Callers 1

indexAllMethod · 0.80

Calls 1

runMethod · 0.65

Tested by

no test coverage detected