Save git information to output_dir/git_log.json
(folder_path: str)
| 448 | |
| 449 | |
| 450 | def 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 | |
| 456 | def save_json(content, path, indent=4, **json_dump_kwargs): |
nothing calls this directly
no test coverage detected