(&mut self)
| 114 | } |
| 115 | |
| 116 | pub fn load_from_env(&mut self) -> Result<()> { |
| 117 | if let Ok(config_path) = env::var("OPENCODE_CONFIG") { |
| 118 | self.load_from_file(&config_path)?; |
| 119 | } |
| 120 | |
| 121 | Ok(()) |
| 122 | } |
| 123 | |
| 124 | /// Load inline config content from OPENCODE_CONFIG_CONTENT env var. |
| 125 | /// Per TS parity, this is applied after project config but before managed config. |
no test coverage detected