MCPcopy Create free account
hub / github.com/GCWing/BitFun / load_client_config_json

Function load_client_config_json

src/apps/cli/src/acp_cli.rs:438–444  ·  view source on GitHub ↗
(service: &Arc<AcpClientService>)

Source from the content-addressed store, hash-verified

436}
437
438async fn load_client_config_json(service: &Arc<AcpClientService>) -> Result<Value> {
439 let json = service
440 .load_json_config()
441 .await
442 .map_err(|error| anyhow!(error.to_string()))?;
443 serde_json::from_str(&json).context("Failed to parse ACP client config")
444}
445
446async fn save_client_config_json(service: &Arc<AcpClientService>, value: &Value) -> Result<()> {
447 let json = serde_json::to_string_pretty(value)?;

Callers 3

enable_external_clientFunction · 0.85
disable_external_clientFunction · 0.85
run_external_clientFunction · 0.85

Calls 2

load_json_configMethod · 0.80
contextMethod · 0.80

Tested by

no test coverage detected