mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
feat(branch): add bindings and api
This commit is contained in:
parent
28c4eca573
commit
11dbb8195d
7 changed files with 503 additions and 1 deletions
|
@ -25,9 +25,11 @@ class Commit {
|
|||
_commitPointer = bindings.lookup(repo.pointer, oid.pointer);
|
||||
}
|
||||
|
||||
/// Pointer to memory address for allocated commit object.
|
||||
late final Pointer<git_commit> _commitPointer;
|
||||
|
||||
/// Pointer to memory address for allocated commit object.
|
||||
Pointer<git_commit> get pointer => _commitPointer;
|
||||
|
||||
/// Creates new commit in the repository.
|
||||
///
|
||||
/// Throws a [LibGit2Error] if error occured.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue