Load the full document index from disk.
()
| 18 | |
| 19 | |
| 20 | def load_index() -> dict: |
| 21 | """Load the full document index from disk.""" |
| 22 | _ensure_storage() |
| 23 | return json.loads(INDEX_FILE.read_text()) |
| 24 | |
| 25 | |
| 26 | def save_index(index: dict) -> None: |
no test coverage detected