mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
style: stricter linting
This commit is contained in:
parent
f3fbc80f8e
commit
4717aab57f
84 changed files with 773 additions and 653 deletions
|
@ -1,7 +1,7 @@
|
|||
import 'dart:ffi';
|
||||
import 'package:libgit2dart/libgit2dart.dart';
|
||||
import 'bindings/libgit2_bindings.dart';
|
||||
import 'bindings/remote.dart' as bindings;
|
||||
import 'package:libgit2dart/src/bindings/libgit2_bindings.dart';
|
||||
import 'package:libgit2dart/src/bindings/remote.dart' as bindings;
|
||||
|
||||
class Remote {
|
||||
/// Lookups remote with provided [name] in a [repo]sitory.
|
||||
|
@ -174,10 +174,12 @@ class Remote {
|
|||
|
||||
/// [Refspec] object from the remote at provided position.
|
||||
Refspec getRefspec(int index) {
|
||||
return Refspec(bindings.getRefspec(
|
||||
remotePointer: _remotePointer,
|
||||
position: index,
|
||||
));
|
||||
return Refspec(
|
||||
bindings.getRefspec(
|
||||
remotePointer: _remotePointer,
|
||||
position: index,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
/// List of fetch refspecs.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue