MCPcopy Create free account
hub / github.com/chatmail/core / is_open

Method is_open

src/sql.rs:108–110  ·  view source on GitHub ↗

Checks if there is currently a connection to the underlying Sqlite database.

(&self)

Source from the content-addressed store, hash-verified

106
107 /// Checks if there is currently a connection to the underlying Sqlite database.
108 pub async fn is_open(&self) -> bool {
109 self.pool.read().await.is_some()
110 }
111
112 /// Returns true if the database is encrypted.
113 ///

Callers 6

dc_context_is_openFunction · 0.45
get_real_cntMethod · 0.45
check_passphraseMethod · 0.45
openMethod · 0.45
get_chat_cntFunction · 0.45
fetch_move_deleteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected