返回指定分组的元数据文件路径(.meta.json)。
(group: str)
| 106 | |
| 107 | |
| 108 | def _meta_path(group: str) -> Path: |
| 109 | """返回指定分组的元数据文件路径(.meta.json)。""" |
| 110 | safe = group.replace("/", "_").replace(" ", "_") |
| 111 | return CACHE_DIR / f"{safe}.meta.json" |
| 112 | |
| 113 | |
| 114 | def _write_cache(group: str, raw_text: str) -> None: |
no outgoing calls
no test coverage detected