Returns graphify-out/cache/ - creates it if needed.
(root: Path = Path("."))
| 12 | |
| 13 | |
| 14 | def cache_dir(root: Path = Path(".")) -> Path: |
| 15 | """Returns graphify-out/cache/ - creates it if needed.""" |
| 16 | d = Path(root) / "graphify-out" / "cache" |
| 17 | d.mkdir(parents=True, exist_ok=True) |
| 18 | return d |
| 19 | |
| 20 | |
| 21 | def load_cached(path: Path, root: Path = Path(".")) -> dict | None: |
no outgoing calls
no test coverage detected