502
502
Make tarblock out of tarinfo and file data
504
504
tarinfo.size = len(file_data)
508
508
filler_data = b"\0" * (tarfile.BLOCKSIZE - remainder)
511
511
return TarBlock(index, b"%s%s%s" % (headers, file_data, filler_data))
515
515
Turn next value of input_iter into a TarBlock