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

Function _cache_path

backend/physics/tle_source.py:102–105  ·  view source on GitHub ↗

返回指定分组的缓存文件路径(.tle)。

(group: str)

Source from the content-addressed store, hash-verified

100
101
102def _cache_path(group: str) -> Path:
103 """返回指定分组的缓存文件路径(.tle)。"""
104 safe = group.replace("/", "_").replace(" ", "_")
105 return CACHE_DIR / f"{safe}.tle"
106
107
108def _meta_path(group: str) -> Path:

Callers 3

_write_cacheFunction · 0.85
_read_cacheFunction · 0.85
get_cache_statusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected