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
|
@ -7,6 +7,8 @@ import 'package:libgit2dart/src/bindings/libgit2_bindings.dart';
|
|||
class Blob {
|
||||
/// Initializes a new instance of [Blob] class from provided pointer to
|
||||
/// blob object in memory.
|
||||
///
|
||||
/// Note: For internal use. Use [Blob.lookup] instead.
|
||||
Blob(this._blobPointer) {
|
||||
_finalizer.attach(this, _blobPointer, detach: this);
|
||||
}
|
||||
|
@ -23,6 +25,8 @@ class Blob {
|
|||
late final Pointer<git_blob> _blobPointer;
|
||||
|
||||
/// Pointer to memory address for allocated blob object.
|
||||
///
|
||||
/// Note: For internal use.
|
||||
Pointer<git_blob> get pointer => _blobPointer;
|
||||
|
||||
/// Creates a new blob from a [content] string and writes it to ODB.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue