@@ -9,7 +9,6 @@ import 'package:analyzer/file_system/physical_file_system.dart';
9
9
import 'package:dartdoc/src/io_utils.dart' ;
10
10
import 'package:dartdoc/src/package_meta.dart' ;
11
11
import 'package:grinder/grinder.dart' ;
12
- import 'package:io/io.dart' ;
13
12
import 'package:path/path.dart' as path;
14
13
import 'package:yaml/yaml.dart' as yaml;
15
14
@@ -130,6 +129,7 @@ Directory get testPackageDocsDir =>
130
129
_testPackageDocsDir ?? = createTempSync ('test_package' );
131
130
132
131
Directory _testPackageExperimentsDocsDir;
132
+
133
133
Directory get testPackageExperimentsDocsDir =>
134
134
_testPackageExperimentsDocsDir ?? =
135
135
createTempSync ('test_package_experiments' );
@@ -761,7 +761,7 @@ class FlutterRepo {
761
761
static Future <FlutterRepo > copyFromExistingFlutterRepo (
762
762
FlutterRepo origRepo, String flutterPath, Map <String , String > env,
763
763
[String label]) async {
764
- await copyPath ( origRepo.flutterPath, flutterPath);
764
+ copy ( Directory ( origRepo.flutterPath), Directory ( flutterPath) );
765
765
var flutterRepo = FlutterRepo ._(flutterPath, env, label);
766
766
return flutterRepo;
767
767
}
@@ -826,7 +826,7 @@ Future<String> _buildPubPackageDocs(
826
826
var pubPackageDirOrig =
827
827
cache.listSync ().firstWhere ((e) => e.path.contains (pubPackageName));
828
828
var pubPackageDir = Directory .systemTemp.createTempSync (pubPackageName);
829
- await copyPath (pubPackageDirOrig.path , pubPackageDir.path );
829
+ copy (pubPackageDirOrig, pubPackageDir);
830
830
831
831
if (packageMetaProvider
832
832
.fromDir (PhysicalResourceProvider .INSTANCE .getFolder (pubPackageDir.path))
0 commit comments