MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / settings_read_snapshot

Function settings_read_snapshot

src/cli/runtime_settings.c:522–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520}
521
522static sqlite3 *settings_read_snapshot(const char *path) {
523 bool hot_journal = false;
524 sqlite3 *db = settings_open_snapshot(path, &hot_journal);
525 if (!db && hot_journal && settings_recover_hot_journal(path))
526 db = settings_open_snapshot(path, &hot_journal);
527 return db;
528}
529
530bool cbm_runtime_settings_init(const char *cache) {
531 char canonical[SETTINGS_PATH_CAP];

Callers 2

Calls 2

settings_open_snapshotFunction · 0.85

Tested by

no test coverage detected