MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / close_db

Function close_db

tests/storage_suite/corruption_test.rs:34–37  ·  view source on GitHub ↗
(db: Database)

Source from the content-addressed store, hash-verified

32}
33
34async fn close_db(db: Database) {
35 db.checkpoint().await.unwrap();
36 db.close();
37}
38
39/// Helper: create a sample node.
40fn sample_node(id: &str, name: &str) -> Node {

Calls 2

checkpointMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected