Skip to content

Commit

Permalink
Merge pull request #19 from isar-community/code-linting
Browse files Browse the repository at this point in the history
Code lint
  • Loading branch information
mrclauss authored Mar 6, 2024
2 parents d1bec62 + f6195eb commit 4b574a6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
3 changes: 2 additions & 1 deletion packages/isar/lib/src/isar_connect.dart
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ abstract class _IsarConnect {
if (path.endsWith('=')) {
path = path.substring(0, path.length - 1);
}
final url = ' https://isar-community.dev/inspector/${Isar.version}/#/$port$path ';
final url =
' https://isar-community.dev/inspector/${Isar.version}/#/$port$path ';
String line(String text, String fill) {
final fillCount = url.length - text.length;
final left = List.filled(fillCount ~/ 2, fill);
Expand Down
10 changes: 5 additions & 5 deletions packages/isar/lib/src/native/bindings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2024,8 +2024,8 @@ class IsarCoreBindings {
}

late final _isar_q_aggregate_long_resultPtr = _lookup<
ffi.NativeFunction<
ffi.Int64 Function(ffi.Pointer<CAggregationResult>)>>(
ffi
.NativeFunction<ffi.Int64 Function(ffi.Pointer<CAggregationResult>)>>(
'isar_q_aggregate_long_result');
late final _isar_q_aggregate_long_result = _isar_q_aggregate_long_resultPtr
.asFunction<int Function(ffi.Pointer<CAggregationResult>)>();
Expand Down Expand Up @@ -2088,9 +2088,9 @@ class IsarCoreBindings {
}

late final _isar_txn_finishPtr = _lookup<
ffi.NativeFunction<
ffi.Int64 Function(
ffi.Pointer<CIsarTxn>, ffi.Bool)>>('isar_txn_finish');
ffi
.NativeFunction<ffi.Int64 Function(ffi.Pointer<CIsarTxn>, ffi.Bool)>>(
'isar_txn_finish');
late final _isar_txn_finish = _isar_txn_finishPtr
.asFunction<int Function(ffi.Pointer<CIsarTxn>, bool)>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ String generateLength(
String includeLower,
String upper,
String includeUpper,
)
codeGen,
) codeGen,
) {
return '''
QueryBuilder<$objectName, $objectName, QAfterFilterCondition> ${propertyName.decapitalize()}LengthEqualTo(int length) {
Expand Down

0 comments on commit 4b574a6

Please sign in to comment.