mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
feat(commit): add ability to create commit
This commit is contained in:
parent
a78c38d8e3
commit
c90561ed8f
5 changed files with 233 additions and 5 deletions
|
@ -34,9 +34,11 @@ class Signature {
|
|||
}
|
||||
}
|
||||
|
||||
/// Pointer to memory address for allocated signature object.
|
||||
late final Pointer<git_signature> _signaturePointer;
|
||||
|
||||
/// Pointer to memory address for allocated signature object.
|
||||
Pointer<git_signature> get pointer => _signaturePointer;
|
||||
|
||||
/// Returns full name of the author.
|
||||
String get name => _signaturePointer.ref.name.cast<Utf8>().toDartString();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue