Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: templates/edge/AppxBlockMap.xml.tmpl

Issue 29345751: Issue 4028 - Add support for Edge extensions to buildtools (Closed)
Patch Set: Created June 13, 2016, 12:31 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld