(name: str, data: BasicProjectData)
| 309 | |
| 310 | |
| 311 | def save_project_header(name: str, data: BasicProjectData): |
| 312 | # save project header file |
| 313 | header = dirty_json.stringify(_project_header_for_save(data)) |
| 314 | abs_path = files.get_abs_path( |
| 315 | PROJECTS_PARENT_DIR, name, PROJECT_META_DIR, PROJECT_HEADER_FILE |
| 316 | ) |
| 317 | |
| 318 | files.write_file(abs_path, header) |
| 319 | |
| 320 | |
| 321 | @extension.extensible |
no test coverage detected