kt_git.py 文件源码

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

项目:sublimeplugins 作者: ktuan89 项目源码 文件源码
def run(self, edit):
        path = gitPath(self.view.window())
        current_path = self.view.file_name()
        if current_path is not None and current_path.startswith(path) and gitWebBlameUrl() is not None:
            remaining_path = current_path[len(path):]
            print(remaining_path,' ', current_path, ' ', path)
            link = gitWebBlameUrl().format(remaining_path)
            webbrowser.open_new(link)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号