def build_git_graph(self):
with shelve.open(str(self.shelve_db_path)) as db:
git_client = GitClient(self.git_repo_path)
git_graph = git_client.build_commit_graph()
git_client.add_commit_tree(git_graph, ref_name='origin/master')
db['git_graph'] = git_graph
self.git_graph = git_graph
评论列表
文章目录