feat(repository): add api method for revparse_single

This commit is contained in:
Aleksey Kulikov 2021-09-01 10:42:24 +03:00
parent 2e0486c641
commit 3b13646b1b
5 changed files with 43 additions and 5 deletions

View file

@ -0,0 +1,6 @@
import 'dart:ffi';
import 'libgit2_bindings.dart';
import '../util.dart';
/// Get the object type of an object.
int type(Pointer<git_object> obj) => libgit2.git_object_type(obj);