MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / get_global_config

Function get_global_config

crates/opencode-server/src/routes.rs:3984–3986  ·  view source on GitHub ↗
(State(_state): State<Arc<ServerState>>)

Source from the content-addressed store, hash-verified

3982}
3983
3984async fn get_global_config(State(_state): State<Arc<ServerState>>) -> Result<Json<AppConfig>> {
3985 Ok(Json(AppConfig::default()))
3986}
3987
3988async fn dispose_all() -> Json<bool> {
3989 Json(true)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected