Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Loping151/RoverSign
/ ensure_data_dir
Method
ensure_data_dir
RoverSign/utils/sign_state.py:26–28 ·
view source on GitHub ↗
确保数据目录存在
()
Source
from the content-addressed store, hash-verified
24
25
@staticmethod
26
def
ensure_data_dir():
27
""
"确保数据目录存在"
""
28
DATA_PATH.mkdir(parents=True, exist_ok=True)
29
30
@staticmethod
31
def
is_signing() -> bool:
Callers
1
__init__
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected