mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-06-23 09:19:26 -04:00
feat(repository)!: add more aliases for api methods
BREAKING CHANGE: Make repository entry point for most operations
This commit is contained in:
parent
9205a3ad82
commit
3a0fa75929
51 changed files with 1380 additions and 1062 deletions
|
@ -2,9 +2,9 @@ import 'dart:io';
|
|||
import 'package:libgit2dart/libgit2dart.dart';
|
||||
import '../test/helpers/util.dart';
|
||||
|
||||
void main() async {
|
||||
void main() {
|
||||
// Preparing example repository.
|
||||
final tmpDir = await setupRepo(Directory('test/assets/testrepo/'));
|
||||
final tmpDir = setupRepo(Directory('test/assets/testrepo/'));
|
||||
|
||||
// Open system + global config file.
|
||||
final config = Config.open();
|
||||
|
@ -54,5 +54,5 @@ void main() async {
|
|||
}
|
||||
|
||||
// Removing example repository.
|
||||
await tmpDir.delete(recursive: true);
|
||||
tmpDir.deleteSync(recursive: true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue