MCPcopy Create free account
hub / github.com/Loping151/RoverSign / clear_state

Method clear_state

RoverSign/utils/sign_state.py:65–72  ·  view source on GitHub ↗

清除签到状态(签到完成时调用)

()

Source from the content-addressed store, hash-verified

63
64 @staticmethod
65 def clear_state():
66 """清除签到状态(签到完成时调用)"""
67 if STATE_FILE.exists():
68 try:
69 STATE_FILE.unlink()
70 logger.info("[库洛签到·签到状态] 删除状态文件(签到已完成)")
71 except Exception as e:
72 logger.error(f"[库洛签到·签到状态] 删除状态文件失败: {e}")
73
74 @staticmethod
75 def should_resume() -> bool:

Callers 4

should_resumeMethod · 0.80
rover_auto_signFunction · 0.80
rover_sign_recheck_allFunction · 0.80
check_and_resume_signingFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected