chore: upgrade dependencies

This commit is contained in:
Aleksey Kulikov 2022-05-23 13:42:43 +03:00
parent faddaa52e2
commit 2956a35944
48 changed files with 3453 additions and 3174 deletions

View file

@ -62,8 +62,8 @@ Pointer<git_status_entry> getByIndex({
///
/// Throws a [LibGit2Error] if error occured.
int file({required Pointer<git_repository> repoPointer, required String path}) {
final out = calloc<Uint32>();
final pathC = path.toNativeUtf8().cast<Int8>();
final out = calloc<UnsignedInt>();
final pathC = path.toNativeUtf8().cast<Char>();
final error = libgit2.git_status_file(out, repoPointer, pathC);
final result = out.value;