MCPcopy
hub / github.com/AstrBotDevs/AstrBot / get_astrbot_temp_path

Function get_astrbot_temp_path

astrbot/core/utils/astrbot_path.py:68–70  ·  view source on GitHub ↗

Return the AstrBot temporary data directory path.

()

Source from the content-addressed store, hash-verified

66
67
68def get_astrbot_temp_path() -> str:
69 """Return the AstrBot temporary data directory path."""
70 return os.path.realpath(os.path.join(get_astrbot_data_path(), "temp"))
71
72
73def get_astrbot_skills_path() -> str:

Callers 15

check_envFunction · 0.90
_file_send_allowed_rootsFunction · 0.90
_read_allowed_rootsFunction · 0.90
_write_allowed_rootsFunction · 0.90
callMethod · 0.90
_new_screenshot_pathFunction · 0.90
__init__Method · 0.90
__init__Method · 0.90
_temp_media_pathFunction · 0.90

Calls 1

get_astrbot_data_pathFunction · 0.85

Tested by

no test coverage detected