mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
docs: update docs for bindings and api
This commit is contained in:
parent
a3213a88a2
commit
9d61584165
52 changed files with 352 additions and 209 deletions
|
@ -10,6 +10,10 @@ import 'package:meta/meta.dart';
|
|||
class Signature {
|
||||
/// Initializes a new instance of [Signature] class from provided pointer to
|
||||
/// signature object in memory.
|
||||
///
|
||||
/// Note: For internal use. Instead, use one of:
|
||||
/// - [Signature.create]
|
||||
/// - [Signature.defaultSignature]
|
||||
Signature(Pointer<git_signature> pointer) {
|
||||
_signaturePointer = bindings.duplicate(pointer);
|
||||
_finalizer.attach(this, _signaturePointer, detach: this);
|
||||
|
@ -54,6 +58,8 @@ class Signature {
|
|||
late final Pointer<git_signature> _signaturePointer;
|
||||
|
||||
/// Pointer to memory address for allocated signature object.
|
||||
///
|
||||
/// Note: For internal use.
|
||||
Pointer<git_signature> get pointer => _signaturePointer;
|
||||
|
||||
/// Full name of the author.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue