chore: upgrade dependencies (#58)

This commit is contained in:
Aleksey Kulikov 2022-05-23 13:50:15 +03:00 committed by GitHub
parent faddaa52e2
commit 3900ec92cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;