(self, data)
| 188 | ensure_data_dir() |
| 189 | if not STATE_FILE.exists(): |
| 190 | state = default_state() |
| 191 | save_state(state) |
| 192 | return state |
| 193 | try: |
| 194 | with STATE_FILE.open("r", encoding="utf-8") as f: |
| 195 | data = json.load(f) |
| 196 | except Exception: |
| 197 | data = default_state() |
nothing calls this directly
no outgoing calls
no test coverage detected