MCPcopy Create free account
hub / github.com/ElementsProject/lightning / destroy_db

Function destroy_db

db/utils.c:270–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270static void destroy_db(struct db *db)
271{
272 db_assert_no_outstanding_statements(db);
273
274 if (db->config->teardown_fn)
275 db->config->teardown_fn(db);
276}
277
278static struct db_config *db_config_find(const struct db *db, const char *dsn)
279{

Callers

nothing calls this directly

Tested by

no test coverage detected