MCPcopy Create free account
hub / github.com/Tong89/smartNode / _meta_path

Function _meta_path

backend/physics/tle_source.py:108–111  ·  view source on GitHub ↗

返回指定分组的元数据文件路径(.meta.json)。

(group: str)

Source from the content-addressed store, hash-verified

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

Callers 2

_write_cacheFunction · 0.85
_cache_is_freshFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected