MCPcopy
hub / github.com/zhayujie/CowAgent / get_appdata_dir

Function get_appdata_dir

config.py:632–637  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

630
631
632def get_appdata_dir():
633 data_path = os.path.join(get_root(), conf().get("appdata_dir", ""))
634 if not os.path.exists(data_path):
635 logger.info("[INIT] data path not exists, create it: {}".format(data_path))
636 os.makedirs(data_path)
637 return data_path
638
639
640def subscribe_msg():

Callers 2

load_user_datasMethod · 0.85
save_user_datasMethod · 0.85

Calls 3

get_rootFunction · 0.85
confFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected