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

Function _ensure_cache_dir

backend/physics/tle_source.py:97–99  ·  view source on GitHub ↗

确保缓存目录存在。

()

Source from the content-addressed store, hash-verified

95# ---------------------------------------------------------------------------
96
97def _ensure_cache_dir() -> None:
98 """确保缓存目录存在。"""
99 CACHE_DIR.mkdir(parents=True, exist_ok=True)
100
101
102def _cache_path(group: str) -> Path:

Callers 2

_write_cacheFunction · 0.85
get_cache_statusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected