feat(commit): add ability to create commit

This commit is contained in:
Aleksey Kulikov 2021-08-27 21:17:19 +03:00
parent a78c38d8e3
commit c90561ed8f
5 changed files with 233 additions and 5 deletions

View file

@ -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();