Skip to content

Commit

Permalink
Remove unused dart:async imports. (dart-lang/file#169)
Browse files Browse the repository at this point in the history
Since this package doesn't support Dart 2.0, Future/Stream are always exported from dart:core.
  • Loading branch information
MichaelRFairhurst authored Sep 26, 2020
1 parent b579bcc commit 19e18c3
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 29 deletions.
1 change: 0 additions & 1 deletion pkgs/file/lib/src/backends/chroot.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

library file.src.backends.chroot;

import 'dart:async';
import 'dart:convert';
import 'dart:typed_data';

Expand Down
2 changes: 0 additions & 2 deletions pkgs/file/lib/src/backends/local/local_file_system.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';

import 'package:file/src/io.dart' as io;
import 'package:file/file.dart';
import 'package:path/path.dart' as p;
Expand Down
2 changes: 0 additions & 2 deletions pkgs/file/lib/src/backends/memory/memory_directory.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';

import 'package:file/file.dart';
import 'package:file/src/common.dart' as common;
import 'package:file/src/io.dart' as io;
Expand Down
2 changes: 0 additions & 2 deletions pkgs/file/lib/src/backends/memory/memory_file_system.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';

import 'package:file/file.dart';
import 'package:file/src/io.dart' as io;
import 'package:path/path.dart' as p;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';

import 'package:file/file.dart';
import 'package:file/src/common.dart' as common;
import 'package:file/src/io.dart' as io;
Expand Down
2 changes: 0 additions & 2 deletions pkgs/file/lib/src/backends/memory/memory_link.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';

import 'package:file/file.dart';
import 'package:file/src/common.dart' as common;
import 'package:file/src/io.dart' as io;
Expand Down
2 changes: 0 additions & 2 deletions pkgs/file/lib/src/forwarding/forwarding_directory.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';

import 'package:file/src/io.dart' as io;
import 'package:file/file.dart';

Expand Down
1 change: 0 additions & 1 deletion pkgs/file/lib/src/forwarding/forwarding_file.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';
import 'dart:convert';
import 'dart:typed_data';

Expand Down
2 changes: 0 additions & 2 deletions pkgs/file/lib/src/forwarding/forwarding_file_system.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';

import 'package:file/src/io.dart' as io;
import 'package:file/file.dart';
import 'package:meta/meta.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';

import 'package:file/src/io.dart' as io;
import 'package:file/file.dart';
import 'package:meta/meta.dart';
Expand Down
2 changes: 0 additions & 2 deletions pkgs/file/lib/src/forwarding/forwarding_link.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';

import 'package:file/src/io.dart' as io;
import 'package:file/file.dart';

Expand Down
2 changes: 0 additions & 2 deletions pkgs/file/lib/src/interface/directory.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';

import '../io.dart' as io;

import 'file.dart';
Expand Down
1 change: 0 additions & 1 deletion pkgs/file/lib/src/interface/file.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';
import 'dart:convert';

import '../io.dart' as io;
Expand Down
2 changes: 0 additions & 2 deletions pkgs/file/lib/src/interface/file_system.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';

import 'package:meta/meta.dart';
import 'package:path/path.dart' as p;

Expand Down
2 changes: 0 additions & 2 deletions pkgs/file/lib/src/interface/file_system_entity.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';

import '../io.dart' as io;

import 'directory.dart';
Expand Down
2 changes: 0 additions & 2 deletions pkgs/file/lib/src/interface/link.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';

import '../io.dart' as io;

import 'file_system_entity.dart';
Expand Down

0 comments on commit 19e18c3

Please sign in to comment.