MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / close

Method close

indexer/src/database.rs:54–60  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

52 }
53
54 pub async fn close(&mut self) -> Result<(), DbErr> {
55 // Close existing db, if any
56 if let Some(db) = self.db.take() {
57 db.close().await?; // drop it
58 }
59 Ok(())
60 }
61}
62
63pub async fn create_tables(db: &DbConn) -> Result<(), DbErr> {

Callers 2

endMethod · 0.45
reopenMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected