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

Method get_context

deltachat-jsonrpc/src/api.rs:129–133  ·  view source on GitHub ↗
(&self, id: u32)

Source from the content-addressed store, hash-verified

127 }
128
129 async fn get_context(&self, id: u32) -> Result<deltachat::context::Context> {
130 self.get_context_opt(id)
131 .await
132 .ok_or_else(|| anyhow!("account with id {id} not found"))
133 }
134
135 async fn with_state<F, T>(&self, id: u32, with_state: F) -> T
136 where

Callers 15

start_ioMethod · 0.80
stop_ioMethod · 0.80
get_push_stateMethod · 0.80
get_account_file_sizeMethod · 0.80
is_configuredMethod · 0.80
get_infoMethod · 0.80
get_blob_dirMethod · 0.80
get_migration_errorMethod · 0.80
copy_to_blob_dirMethod · 0.80
set_configMethod · 0.80
batch_set_configMethod · 0.80

Calls 1

get_context_optMethod · 0.80

Tested by

no test coverage detected