mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 12:49:08 -04:00
feat(reference): add base bindings and api
This commit is contained in:
parent
145af3054d
commit
5f60a693d3
8 changed files with 413 additions and 6 deletions
|
@ -4,6 +4,12 @@ import 'bindings/oid.dart' as bindings;
|
|||
import 'util.dart';
|
||||
|
||||
class Oid {
|
||||
/// Initializes a new instance of [Oid] class from provided
|
||||
/// pointer to Oid object in memory.
|
||||
Oid(this._oidPointer) {
|
||||
libgit2.git_libgit2_init();
|
||||
}
|
||||
|
||||
/// Initializes a new instance of [Oid] class from provided
|
||||
/// hexadecimal [sha] string.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue