mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
style: stricter linting
This commit is contained in:
parent
ae5d895957
commit
7148fbf194
8 changed files with 15 additions and 9 deletions
|
@ -336,6 +336,7 @@ bool apply({
|
|||
if (hunkIndex != null) {
|
||||
_counter = 0;
|
||||
const except = -1;
|
||||
// ignore: omit_local_variable_types
|
||||
final git_apply_hunk_cb callback = Pointer.fromFunction(_hunkCb, except);
|
||||
payload = calloc<Int32>()..value = hunkIndex;
|
||||
opts.ref.payload = payload.cast();
|
||||
|
@ -369,6 +370,7 @@ Pointer<git_index> applyToTree({
|
|||
if (hunkIndex != null) {
|
||||
_counter = 0;
|
||||
const except = -1;
|
||||
// ignore: omit_local_variable_types
|
||||
final git_apply_hunk_cb callback = Pointer.fromFunction(_hunkCb, except);
|
||||
payload = calloc<Int32>()..value = hunkIndex;
|
||||
opts.ref.payload = payload.cast();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue