|
AU: SplitWriter class for parsing our full update files.
Full updates now include data for two partitions (kernel + rootfs).
This CL adds a new SplitFileWriter class which takes the stream of
data, which is expected to be in our full update format (8 bytes big
endian uint64_t of the first partition size, followed by first
partition data, followed by second partition size). It parses the
size, then writes the data to each of two FileWriter classes.
BUG=None
TEST=Attached unittest
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+284 lines, -8 lines) |
Patch |
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/SConstruct
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/decompressing_file_writer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/decompressing_file_writer.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/delta_performer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/delta_performer.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/file_writer.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/file_writer.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/mock_file_writer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
A |
src/platform/update_engine/split_file_writer.h
|
View
|
1
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
A |
src/platform/update_engine/split_file_writer.cc
|
View
|
1
|
1 chunk |
+113 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
A |
src/platform/update_engine/split_file_writer_unittest.cc
|
View
|
|
1 chunk |
+98 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|