mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
refactor: remove unnecessary git_libgit2_init()
This commit is contained in:
parent
b5561212e0
commit
b15b56f0ae
5 changed files with 9 additions and 14 deletions
|
@ -13,9 +13,7 @@ class Diff {
|
|||
/// pointer to diff object in memory.
|
||||
///
|
||||
/// Should be freed with `free()` to release allocated memory.
|
||||
Diff(this._diffPointer) {
|
||||
libgit2.git_libgit2_init();
|
||||
}
|
||||
Diff(this._diffPointer);
|
||||
|
||||
Diff.parse(String content) {
|
||||
libgit2.git_libgit2_init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue