mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
style: annotate declarations for internal use (#70)
This commit is contained in:
parent
d71e00947e
commit
2daadaa9a4
22 changed files with 50 additions and 0 deletions
|
@ -16,6 +16,7 @@ class Signature extends Equatable {
|
|||
/// Note: For internal use. Instead, use one of:
|
||||
/// - [Signature.create]
|
||||
/// - [Signature.defaultSignature]
|
||||
@internal
|
||||
Signature(Pointer<git_signature> pointer) {
|
||||
_signaturePointer = bindings.duplicate(pointer);
|
||||
_finalizer.attach(this, _signaturePointer, detach: this);
|
||||
|
@ -62,6 +63,7 @@ class Signature extends Equatable {
|
|||
/// Pointer to memory address for allocated signature object.
|
||||
///
|
||||
/// Note: For internal use.
|
||||
@internal
|
||||
Pointer<git_signature> get pointer => _signaturePointer;
|
||||
|
||||
/// Full name of the author.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue