Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ new
Method
new
crates/opencode-config/src/loader.rs:19–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
18
impl ConfigLoader {
19
pub fn new() -> Self {
20
Self {
21
config: Config::default(),
22
config_paths: Vec::new(),
23
}
24
}
25
26
/// Current merged config (for tests and inspection).
27
pub fn get_config(&self) -> Config {
Callers
nothing calls this directly
Calls
1
new
Function · 0.85
Tested by
no test coverage detected