This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
diff: introduce a collection of Hunks
To introduce a conversion from git2::Patch to Vec<Hunk> it was necessary to do two things: 1. Separate out error types to be more granular 2. Introduce a newtype Hunks 1. means that errors are specific to the particular conversions -- and become nested. 2. was needed for the TryFrom implementation. Signed-off-by: Fintan Halpenny <[email protected]>
- Loading branch information
Showing
5 changed files
with
187 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.