Summary
Extract core abstractions from GeneralUpdate.Differential to enable pluggable binary diff algorithms and compression providers.
Scope
- \IBinaryDiffer\ — abstract binary diff (Clean/Dirty)
- \ICompressionProvider\ — abstract compression (replace hardcoded BZip2)
- Refactor \BinaryHandler\ to implement \IBinaryDiffer, keeping existing BSDIFF logic intact
- Keep backward compatibility with existing \DifferentialCore\ API surface
Motivation
Currently BinaryHandler hardcodes BSDIFF algorithm + BZip2 compression. This prevents optimizing for different scenarios (smaller patches, faster decompression, streaming for large files).
Part of the Differential v2 refactor series:
Summary
Extract core abstractions from GeneralUpdate.Differential to enable pluggable binary diff algorithms and compression providers.
Scope
Motivation
Currently BinaryHandler hardcodes BSDIFF algorithm + BZip2 compression. This prevents optimizing for different scenarios (smaller patches, faster decompression, streaming for large files).
Part of the Differential v2 refactor series: