MCPcopy Create free account
hub / github.com/cortexkit/magic-context / metaValue

Function metaValue

packages/cli/src/commands/doctor-opencode.test.ts:108–113  ·  view source on GitHub ↗
(database: Database, key: string)

Source from the content-addressed store, hash-verified

106}
107
108function metaValue(database: Database, key: string): string | null {
109 const row = database
110 .prepare("SELECT value FROM schema_migrations_meta WHERE key = ?")
111 .get(key) as { value: string } | undefined;
112 return row?.value ?? null;
113}
114
115function makeHarness(database: Database, messages: string[]) {
116 return {

Callers 1

Calls 2

getMethod · 0.80
prepareMethod · 0.45

Tested by

no test coverage detected