mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
feat: override toString with relevant information for debugging
This commit is contained in:
parent
188cdc4354
commit
458c0bdc71
6 changed files with 18 additions and 2 deletions
|
@ -103,4 +103,7 @@ class Commit {
|
|||
|
||||
/// Releases memory allocated for commit object.
|
||||
void free() => bindings.free(_commitPointer);
|
||||
|
||||
@override
|
||||
String toString() => 'Commit{id: $id}';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue