| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 <BlockMap xmlns="http://schemas.microsoft.com/appx/2010/blockmap" HashMethod="ht tp://www.w3.org/2001/04/xmlenc#sha256"> | 2 <BlockMap xmlns="http://schemas.microsoft.com/appx/2010/blockmap" HashMethod="ht tp://www.w3.org/2001/04/xmlenc#sha256"> |
| 3 {% for file in files -%} | 3 {% for file in files -%} |
| 4 <File Name="{{file.name}}" Size="{{file.size}}" LfhSize="{{file.lfh_size}}"> | 4 <File Name="{{file.name}}" Size="{{file.size}}" LfhSize="{{file.lfh_size}}"> |
| 5 {% for block in file.blocks -%} | 5 {% for block in file.blocks -%} |
| 6 <Block Hash="{{block.hash}}" {% if block.compressed_size %}Size="{{block.com pressed_size}}"{% endif %}/> | 6 <Block Hash="{{block.hash}}"/> |
|
Sebastian Noack
2016/10/04 19:58:06
If it turns out that we won't need to add compress
Vasily Kuznetsov
2016/10/11 15:58:28
Done. I also removed all compression-related logic
| |
| 7 {% endfor -%} | 7 {% endfor -%} |
| 8 </File> | 8 </File> |
| 9 {% endfor -%} | 9 {% endfor -%} |
| 10 </BlockMap> | 10 </BlockMap> |
| LEFT | RIGHT |