MCPcopy Create free account
hub / github.com/RingBDStack/GDAP / save_git_info

Function save_git_info

seq2seq/utils.py:450–453  ·  view source on GitHub ↗

Save git information to output_dir/git_log.json

(folder_path: str)

Source from the content-addressed store, hash-verified

448
449
450def save_git_info(folder_path: str) -> None:
451 """Save git information to output_dir/git_log.json"""
452 repo_infos = get_git_info()
453 save_json(repo_infos, os.path.join(folder_path, "git_log.json"))
454
455
456def save_json(content, path, indent=4, **json_dump_kwargs):

Callers

nothing calls this directly

Calls 2

get_git_infoFunction · 0.85
save_jsonFunction · 0.85

Tested by

no test coverage detected