MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / get_api_client

Method get_api_client

crates/opencode-tui/src/context/app_context.rs:300–302  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

298 }
299
300 pub fn get_api_client(&self) -> Option<Arc<ApiClient>> {
301 self.api_client.read().clone()
302 }
303}
304
305impl Default for AppContext {

Callers 15

handle_eventMethod · 0.80
handle_dialog_keyMethod · 0.80
handle_share_sessionMethod · 0.80
handle_undoMethod · 0.80
submit_promptMethod · 0.80
submit_shell_commandMethod · 0.80
refresh_model_dialogMethod · 0.80
refresh_agent_dialogMethod · 0.80

Calls 2

readMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected