Loads the `[sync]` config for a project (falling back to defaults on any load error) and applies `TRACEDECAY_SYNC_*` environment overrides.
(project_root: &Path)
| 290 | /// Loads the `[sync]` config for a project (falling back to defaults on any |
| 291 | /// load error) and applies `TRACEDECAY_SYNC_*` environment overrides. |
| 292 | pub fn load_sync_config(project_root: &Path) -> SyncConfig { |
| 293 | load_config(project_root) |
| 294 | .map(|config| config.sync) |
| 295 | .unwrap_or_default() |
| 296 | .with_env_overrides() |
| 297 | } |
| 298 | |
| 299 | impl Default for TraceDecayConfig { |
| 300 | fn default() -> Self { |
no test coverage detected