|
AU: Delta Diff Generator
Adds a class that can take two root filesystem image and generate a
delta between them. Currently it's not very well tested, but this will
improve once the diff applicator is written.
Also, an executable to run the generator.
Other changes:
- Stop leaking loop devices in unittests
- extent mapper: support sparse files, ability to get FS block size
- AppendBlockToExtents support sparse files
- subprocess more verbose on errors
- add WriteAll to utils (WriteAll avoids short-write() returns)
- mkstemp wrapper for ease of use
- VectorIndexOf, finds index of an element in a vector
Total comments: 24
Total comments: 28
Total comments: 58
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1471 lines, -76 lines) |
Patch |
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/bzip.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/delta_diff_generator.h
|
View
|
1
2
3
4
|
1 chunk |
+97 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/delta_diff_generator.cc
|
View
|
1
2
3
4
|
1 chunk |
+860 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/delta_diff_generator_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+326 lines, -6 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/extent_mapper.h
|
View
|
1
2
3
4
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/extent_mapper.cc
|
View
|
1
2
3
4
|
3 chunks |
+15 lines, -23 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/extent_mapper_unittest.cc
|
View
|
|
3 chunks |
+40 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/extent_writer.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -15 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/filesystem_copier_action_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/filesystem_iterator_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/generate_delta_main.cc
|
View
|
1
2
3
4
|
3 chunks |
+25 lines, -14 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/graph_types.h
|
View
|
|
4 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/graph_utils.cc
|
View
|
1
2
3
4
|
2 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/postinstall_runner_action_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/subprocess.cc
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/test_utils.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/topological_sort.cc
|
View
|
2
3
4
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/utils.h
|
View
|
1
2
3
4
|
3 chunks |
+28 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/platform/update_engine/utils.cc
|
View
|
1
2
3
4
|
4 chunks |
+34 lines, -2 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|