papi_create_datastore_new.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:ccu_and_eccu_publish 作者: gaofubin 项目源码 文件源码
def createGitRepository():
    # Create the git repository, or change into it if it exists
    datastore = 'datastore'
    if not os.path.isdir(datastore): 
        os.makedirs(datastore) 
        git.Repo.init(datastore) 
    repo = git.Repo(datastore)  
    os.chdir(datastore)
    return repo
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号