MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / save_group_data

Method save_group_data

mod/project/java/groupMod.py:66–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64 return None
65
66 def save_group_data(self):
67 if self.config:
68 config_file = "{}/{}.json".format(self.GROUP_DATA_DIR, self.group_id)
69 public.writeFile(config_file, json.dumps(self.config))
70
71 # 更新旧版数据
72 @classmethod

Callers 9

group_infoMethod · 0.95
add_groupMethod · 0.95
add_project_to_groupMethod · 0.95
add_projects_to_groupMethod · 0.95
modify_groupMethod · 0.95
modify_group_projectsMethod · 0.95
modify_group_projectMethod · 0.95
change_sort_typeMethod · 0.95

Calls 3

writeFileMethod · 0.80
formatMethod · 0.45
dumpsMethod · 0.45

Tested by

no test coverage detected