style: annotate declarations for internal use (#70)

This commit is contained in:
Aleksey Kulikov 2022-06-18 11:17:14 +03:00 committed by GitHub
parent d71e00947e
commit 2daadaa9a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 50 additions and 0 deletions

View file

@ -12,6 +12,7 @@ class Blob extends Equatable {
/// blob object in memory.
///
/// Note: For internal use. Use [Blob.lookup] instead.
@internal
Blob(this._blobPointer) {
_finalizer.attach(this, _blobPointer, detach: this);
}
@ -30,6 +31,7 @@ class Blob extends Equatable {
/// Pointer to memory address for allocated blob object.
///
/// Note: For internal use.
@internal
Pointer<git_blob> get pointer => _blobPointer;
/// Creates a new blob from a [content] string and writes it to ODB.