Save the global config to ~/.config/openkb/global.yaml.
(config: dict[str, Any])
| 267 | |
| 268 | |
| 269 | def save_global_config(config: dict[str, Any]) -> None: |
| 270 | """Save the global config to ~/.config/openkb/global.yaml.""" |
| 271 | with _with_global_config_lock(): |
| 272 | _atomic_yaml_dump(GLOBAL_CONFIG_PATH, config) |
| 273 | |
| 274 | |
| 275 | def register_kb(kb_path: Path) -> None: |
nothing calls this directly
no test coverage detected