GitDir.fromExisting
added a allowSubdirectory
parameter.git
in the shell – trying to address issues on Windows.which
package to try harder to find git
executable.GitDir
added updateBranchWithDirectoryContents
.Migrated code to Dart 1.9 async
.
Improved testing.
bot
dependency.hop
and added hop_unittest
dev dependencies.Commit
to stop using deperecated APIs from bot
.bot
package.TreeEntry
final.PopulateTempDir
typedef.GitDir.populateBranch
- moving away from TempDir
from bot_io
scheduled_test
dependency to dev_dependencies
PopulateTempDir
typedef.GitDir.populateBranch
- moving away from TempDir
from bot_io
GitDir.updateBranch
like populateBranch
, but exposes a Directory
bot_io
hop_runner
Git
class.bot_git
library from the bot_io
package as of release 0.25.1+2
.Add this to your package's pubspec.yaml file:
dependencies:
git: "^0.5.1"
You can install packages from the command line:
with pub:
$ pub get
with Flutter:
$ flutter packages get
Alternatively, your editor might support pub get
or packages get
.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:git/git.dart';
Version | Uploaded | Documentation | Archive |
---|---|---|---|
0.5.1 | Mar 9, 2018 |
|
|
0.5.0 | Mar 9, 2018 |
|
|
0.4.4+3 | Dec 12, 2017 |
|
|
0.4.4+2 | Oct 29, 2015 |
|
|
0.4.4+1 | Apr 16, 2015 |
|
|
0.4.4 | Apr 16, 2015 |
|
|
0.4.3 | Apr 7, 2015 |
|
|
0.4.2 | Apr 4, 2015 |
|
|
0.4.1+2 | Jan 14, 2015 |
|
|
0.4.1+1 | May 25, 2014 |
|
|
We analyzed this package on Apr 9, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Popularity:
Describes how popular the package is relative to other packages.
[more]
|
72 | / 100 |
Health:
Code health derived from static analysis.
[more]
|
100 | / 100 |
Maintenance:
Reflects how tidy and up-to-date the package is.
[more]
|
100 | / 100 |
Overall score:
Weighted score of the above.
[more]
|
86 |
Detected platforms: Flutter, other
Primary library:
package:git/git.dart
with components:io
.
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*
, it usually means that the author is still experimenting with the general direction API.
Maintain an example.
Create a short demo in the
example/
directory to show how to use this package. Common file name patterns include:main.dart
,example.dart
or you could also usegit.dart
.
Package | Constraint | Resolved | Available |
---|---|---|---|
Direct dependencies | |||
Dart SDK | >=1.9.0 <2.0.0 | ||
path | ^1.0.0 | 1.5.1 | |
Dev dependencies | |||
test | ^0.12.0 | ||
test_descriptor | ^1.0.3 |