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

@ -41,8 +41,8 @@ void resetDefault({
}) {
final pathspecC = calloc<git_strarray>();
final pathPointers =
pathspec.map((e) => e.toNativeUtf8().cast<Int8>()).toList();
final strArray = calloc<Pointer<Int8>>(pathspec.length);
pathspec.map((e) => e.toNativeUtf8().cast<Char>()).toList();
final strArray = calloc<Pointer<Char>>(pathspec.length);
for (var i = 0; i < pathspec.length; i++) {
strArray[i] = pathPointers[i];