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

Function get_astrbot_root

astrbot/cli/utils/basic.py:20–22  ·  view source on GitHub ↗

Get the AstrBot root directory path

()

Source from the content-addressed store, hash-verified

18
19
20def get_astrbot_root() -> Path:
21 """Get the AstrBot root directory path"""
22 return Path.cwd()
23
24
25async def check_dashboard(astrbot_root: Path) -> None:

Callers 5

_load_configFunction · 0.50
_save_configFunction · 0.50
runFunction · 0.50
initFunction · 0.50
_get_data_pathFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected