mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 20:59:08 -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
|
@ -13,6 +13,7 @@ class Commit extends Equatable {
|
|||
/// commit object in memory.
|
||||
///
|
||||
/// Note: For internal use. Use [Commit.lookup] instead.
|
||||
@internal
|
||||
Commit(this._commitPointer) {
|
||||
_finalizer.attach(this, _commitPointer, detach: this);
|
||||
}
|
||||
|
@ -31,6 +32,7 @@ class Commit extends Equatable {
|
|||
/// Pointer to memory address for allocated commit object.
|
||||
///
|
||||
/// Note: For internal use.
|
||||
@internal
|
||||
Pointer<git_commit> get pointer => _commitPointer;
|
||||
|
||||
/// Creates new commit in the [repo]sitory.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue