MCPcopy Create free account
hub / github.com/agent0ai/agent-zero / save_project_header

Function save_project_header

helpers/projects.py:311–318  ·  view source on GitHub ↗
(name: str, data: BasicProjectData)

Source from the content-addressed store, hash-verified

309
310
311def 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

Callers 3

create_projectFunction · 0.85
clone_git_projectFunction · 0.85
update_projectFunction · 0.85

Calls 1

_project_header_for_saveFunction · 0.85

Tested by

no test coverage detected