mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
feat(attr): add bindings and api
This commit is contained in:
parent
934b601d68
commit
ec80ad3dd4
5 changed files with 116 additions and 6 deletions
|
@ -5,15 +5,15 @@ import 'package:libgit2dart/libgit2dart.dart';
|
|||
void main() {
|
||||
final cloneDir = Directory('${Directory.systemTemp.path}/credentials_cloned');
|
||||
|
||||
setUp(() async {
|
||||
if (await cloneDir.exists()) {
|
||||
cloneDir.delete(recursive: true);
|
||||
setUp(() {
|
||||
if (cloneDir.existsSync()) {
|
||||
cloneDir.deleteSync(recursive: true);
|
||||
}
|
||||
});
|
||||
|
||||
tearDown(() async {
|
||||
if (await cloneDir.exists()) {
|
||||
cloneDir.delete(recursive: true);
|
||||
tearDown(() {
|
||||
if (cloneDir.existsSync()) {
|
||||
cloneDir.deleteSync(recursive: true);
|
||||
}
|
||||
});
|
||||
group('Credentials', () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue