blurb.py 文件源码

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

项目:core-workflow 作者: python 项目源码 文件源码
def flush_git_rm_files():
    if git_rm_files:
        try:
            subprocess.run(["git", "rm", "-f", *git_rm_files], stdout=subprocess.PIPE, stderr=subprocess.PIPE).check_returncode()
        except subprocess.CalledProcessError:
            pass

        # clean up
        for path in git_rm_files:
            try:
                os.unlink(path)
            except FileNotFoundError:
                pass

        git_rm_files.clear()


# @subcommand
# def noop():
#     "Do-nothing command.  Used for blurb smoke-testing."
#     pass
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号