| Index: templates/edge/AppxBlockMap.xml.tmpl |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/templates/edge/AppxBlockMap.xml.tmpl |
| @@ -0,0 +1,10 @@ |
| +<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| +<BlockMap xmlns="http://schemas.microsoft.com/appx/2010/blockmap" HashMethod="http://www.w3.org/2001/04/xmlenc#sha256"> |
| + {% for file in files -%} |
| + <File Name="{{file.name}}" Size="{{file.size}}" LfhSize="{{file.lfh_size}}"> |
| + {% for block in file.blocks -%} |
| + <Block Hash="{{block.hash}}" {% if block.compressed_size %}Size="{{block.compressed_size}}"{% endif %}/> |
| + {% endfor -%} |
| + </File> |
| + {% endfor -%} |
| +</BlockMap> |