libgit2dart 1.2.2
libgit2dart: ^1.2.2 copied to clipboard
Dart bindings to libgit2, provides ability to use libgit2 library in Dart and Flutter.
We analyzed this package 2 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
740 out of 846 API elements (87.5 %) have documentation comments.
Some symbols that are missing documentation: libgit2dart.AnnotatedCommit, libgit2dart.Blame, libgit2dart.BlameHunk, libgit2dart.Blob, libgit2dart.Branch.
10/10 points: Package has an example
10/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:libgit2dart/libgit2dart.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `iOS`.
Because:
package:libgit2dart/libgit2dart.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `Web`.
Because:
package:libgit2dart/libgit2dart.dartthat declares support for platforms:Windows,Linux,macOS.
Swift Package Manager support:
Package does not support the Swift Package Manager on macOS
The package does not contain macos/libgit2dart/Package.swift.
Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: 'elementAt' is deprecated and shouldn't be used. Use operator + instead.
lib/src/bindings/reference.dart:144:36
╷
144 │ result.add(array.ref.strings.elementAt(i).value.toDartString());
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/bindings/reference.dart
INFO: Angle brackets will be interpreted as HTML.
lib/src/bindings/revparse.dart:67:31
╷
67 │ /// In some cases (@{<-n>} or <branchname>@{upstream}), the expression may
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/bindings/revparse.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
^2.3.0 |
2.7.0 | 2.7.0 | |
equatable |
^2.0.3 |
2.1.0 | 3.0.0 | |
ffi |
^2.0.0 |
2.2.0 | 2.2.0 | |
meta |
^1.7.0 |
1.19.0 | 1.19.0 | |
path |
^1.8.1 |
1.9.1 | 1.9.1 | |
pub_semver |
^2.1.3 |
2.2.1 | 2.2.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.0.3` on equatable does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions equatable to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Flutter 3.47.7, Dart 3.13.5.
Check the analysis log for details.