用python实现git blob对象的创建和查询
import hashlib
import zlib
import os
import os.pathg_blob_zlib_content = ''def calc_git_blob_obj(blob_content):
blob_header = 'blob ' + str(len(blob_content)) + '\0'
blob_store = blob_header +
原创
2015-09-27 18:54:09 ·
1362 阅读 ·
0 评论