History log of /external/bsdiff/split_patch_writer.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4dadd8b4439358585be374226357b35aece52f17 26-Oct-2017 Alex Deymo <deymo@google.com> Pass the size of the new file to the PatchWriterInterface::Init()

Most patch formats include the size of the new file in the header.
To help streaming the patch to disk while generating it, this CL
passes the size of the new file to the patch writer on initialization.

To do this, we also move the Init() call to the patch writer to the
DiffEncoder, which makes more sense since the Close() call is also made
from the DiffEnconder.

Bug: None
Test: Updated tests to check for this value.
Change-Id: Idfaedbd492d68ab6e6cb2c1cb3883947f068c3aa
/external/bsdiff/split_patch_writer.h
30964e8324fae3289f1929af49db7ab6f7c8c01c 26-Oct-2017 Alex Deymo <deymo@google.com> Correct SplitPatchWriter() comment.

Bug: None
Test: Compiles.
Change-Id: I01eded0b094083eb79ccc4c59458e1b88952145d
/external/bsdiff/split_patch_writer.h
e1140a25f4f26535d6c42d604e790ff4e432bb96 02-Oct-2017 Alex Deymo <deymo@google.com> New SplitPatchWriter to split a bsdiff patch into multiple ones.

This new PatchWriterInterface derived class allows to split the
output patch of a bsdiff run into multiple files of a fixed new file
size. This allows to split long operations with minimal loss of patch
size due to splitting the compression blocks. For large enough new file
sections, this patch size reduction should be minimal.

Bug: 34220646
Test: Added unittests.
Change-Id: Ib90fddd5c55a38c87ce396f2792aa558ecd07b22
/external/bsdiff/split_patch_writer.h