feat: override toString with relevant information for debugging

This commit is contained in:
Aleksey Kulikov 2021-09-10 12:03:37 +03:00
parent 188cdc4354
commit 458c0bdc71
6 changed files with 18 additions and 2 deletions

View file

@ -251,4 +251,8 @@ class ConflictEntry {
///
/// Throws a [LibGit2Error] if error occured.
void remove() => bindings.conflictRemove(_indexPointer, _path);
@override
String toString() =>
'ConflictEntry{ancestor: $ancestor, our: $our, their: $their}';
}