Index: third_party/pkg/angular/lib/tools/io_impl.dart |
diff --git a/third_party/pkg/angular/lib/tools/io_impl.dart b/third_party/pkg/angular/lib/tools/io_impl.dart |
deleted file mode 100644 |
index 9cbf134d813e91dc2bb67b52b0bf95a3587b80d7..0000000000000000000000000000000000000000 |
--- a/third_party/pkg/angular/lib/tools/io_impl.dart |
+++ /dev/null |
@@ -1,22 +0,0 @@ |
-library angular.io_impl; |
- |
-import 'dart:io'; |
-import 'package:angular/tools/io.dart'; |
- |
-class IoServiceImpl implements IoService { |
- |
- String readAsStringSync(String filePath) => |
- new File(filePath).readAsStringSync(); |
- |
- void visitFs(String rootDir, FsVisitor visitor) { |
- Directory root = new Directory(rootDir); |
- if (!FileSystemEntity.isDirectorySync(rootDir)) { |
- throw 'Expected $rootDir to be a directory!'; |
- } |
- root.listSync(recursive: true, followLinks: true).forEach((entity) { |
- if (entity.statSync().type == FileSystemEntityType.FILE) { |
- visitor(entity.path); |
- } |
- }); |
- } |
-} |