no message
This commit is contained in:
parent
79296728ac
commit
b31ea4db7c
1 changed files with 3 additions and 8 deletions
|
|
@ -2,12 +2,7 @@ import 'dart:io';
|
|||
import 'dart:async';
|
||||
import 'package:path/path.dart' as path;
|
||||
|
||||
enum FileType {
|
||||
none, //not exit file
|
||||
file,
|
||||
directory,
|
||||
link
|
||||
}
|
||||
enum FileType { none, file file, directory, link }
|
||||
|
||||
class Path {
|
||||
static String? getParent(String path) {
|
||||
|
|
@ -48,8 +43,8 @@ class Path {
|
|||
}
|
||||
|
||||
static Future<bool> copy(String startPath, String destPath, bool isDir,
|
||||
{required List<String> ignorePattern,
|
||||
required List<String> ignoredList}) async {
|
||||
{required List<String>? ignorePattern,
|
||||
required List<String>? ignoredList}) async {
|
||||
var c = Completer<bool>();
|
||||
var result = true;
|
||||
if (ignorePattern != null) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue