tom_git 0.2.0
tom_git: ^0.2.0 copied to clipboard
Git in pure Dart, for applications that must not need a git binary: the object model, loose objects and packfiles (read with deltas, written without), editing a tree without a working tree or index, a [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add tom_gitWith Flutter:
$ flutter pub add tom_gitThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
tom_git: ^0.2.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:tom_git/tom_git.dart';