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

Method get_config

crates/opencode-config/src/loader.rs:27–29  ·  view source on GitHub ↗

Current merged config (for tests and inspection).

(&self)

Source from the content-addressed store, hash-verified

25
26 /// Current merged config (for tests and inspection).
27 pub fn get_config(&self) -> Config {
28 self.config.clone()
29 }
30
31 pub fn load_from_str(&mut self, content: &str) -> Result<()> {
32 let config: Config =

Callers 1

Calls 1

cloneMethod · 0.45

Tested by 1