Rdiff.py 文件源码

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

项目:rdiff-backup 作者: sol1 项目源码 文件源码
def get_delta_sigrp_hash(rp_signature, rp_new):
    """Like above but also calculate hash of new as close() value"""
    log.Log("Getting delta (with hash) of %s with signature %s" %
            (rp_new.path, rp_signature.get_indexpath()), 7)
    return librsync.DeltaFile(rp_signature.open("rb"),
                              hash.FileWrapper(rp_new.open("rb")))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号