Closed
Description
I'm upgrading from v0.12, in that versión I could do a Diff.Compare() and I got TreeChanges with TreeEntryChanges where each element contained the path of the modified file and the Patch with the changes.
Now, in v0.17 with compare, I can get Patches with ContentChanges and TreeChanges with TreeEntryChanges, none of these clases holds both properties (Path and Patch). So if I want both, I think that I should do two Diff.Compare(), one for TreeChanges and other for Patches.
This happends since 11f4cb8 where TreeEntryChanges is not inheriting from Changes and lost the Path property .
Solutions can be many:
- Expose the keys of the Path.changes IDictionary
- Add the Patch property in TreeEntryChanges
- Add a ContentChanges property in TreeEntryChanges linking to ContentChanges for the TreeEntryChanges referenced file
- Other
Sorry for my English
Metadata
Metadata
Assignees
Labels
No labels