(message, color="green")
| 151 | existing JSONC comments/trailing commas are not preserved. |
| 152 | """ |
| 153 | def log(message, color="green"): |
| 154 | if verbose and not tracker: |
| 155 | console.print(f"[{color}]{message}[/] {rel_path}") |
| 156 | |
| 157 | def atomic_write_json(target_file: Path, payload: dict[str, Any]) -> None: |
| 158 | """Atomically write JSON while preserving existing mode bits when possible.""" |
no test coverage detected