mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
chore: upgrade dependencies
This commit is contained in:
parent
faddaa52e2
commit
2956a35944
48 changed files with 3453 additions and 3174 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue