mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
parent
4e55d0f06c
commit
eacbea8f19
5 changed files with 399 additions and 128 deletions
|
@ -2,6 +2,7 @@ import 'dart:io';
|
|||
import 'package:libgit2dart/libgit2dart.dart';
|
||||
import 'package:path/path.dart' as p;
|
||||
|
||||
/// Copies repository at provided [repoDir] into system's temp directory.
|
||||
Directory setupRepo(Directory repoDir) {
|
||||
Libgit2.ownerValidation = false;
|
||||
final tmpDir = Directory.systemTemp.createTempSync('testrepo');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue