mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 20:59:08 -04:00
refactor: use classes instead of enums for git types
This commit is contained in:
parent
ebfc67ee0d
commit
da3bda077a
15 changed files with 135 additions and 77 deletions
|
@ -5,6 +5,8 @@ import 'libgit2_bindings.dart';
|
|||
import '../util.dart';
|
||||
|
||||
/// Get the type of a reference.
|
||||
///
|
||||
/// Either direct or symbolic.
|
||||
int referenceType(Pointer<git_reference> ref) =>
|
||||
libgit2.git_reference_type(ref);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue