mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
refactor(repository)!: use Finalizer
to automatically free allocated memory (#51)
BREAKING CHANGE: Return value of identity getter changed from Map<String, String> to Identity
This commit is contained in:
parent
aef440e345
commit
4e55d0f06c
43 changed files with 109 additions and 151 deletions
|
@ -119,9 +119,6 @@ class Submodule {
|
|||
/// This will only work if the submodule is checked out into the working
|
||||
/// directory.
|
||||
///
|
||||
/// **IMPORTANT**: Returned [Repository] object should be freed to release
|
||||
/// allocated memory.
|
||||
///
|
||||
/// Throws a [LibGit2Error] if error occured.
|
||||
Repository open() {
|
||||
return Repository(bindings.open(_submodulePointer));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue