chipx86 got a fish trophy!
Update SOSClient to use new diff functionality.
Review Request #12621 — Created Sept. 22, 2022 and submitted — Latest diff uploaded
This reworks
SOSClient
to make use of the new diff tools and
UnifiedDiffWriter
to generate diffs.Now, we perform a diff of each file using the new diff tool support,
which simplifies logic and should provide wider compatibility as new
diff tool backends are implemented.The resulting diff payload is then generated through a
UnifiedDiffWriter
, giving us a consistent way of generating the
resulting diff payload for the DiffX file.Unit tests have been updated to test diff execution in a way compatible
with multiple diff backends.
Unit tests pass.