Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(619)

Unified Diff: third_party/pkg/angular/lib/tools/io_impl.dart

Issue 1058283006: Update pubspecs and dependencies to get pkgbuild tests working. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
- }
- });
- }
-}
« no previous file with comments | « third_party/pkg/angular/lib/tools/io.dart ('k') | third_party/pkg/angular/lib/tools/parser_generator/dart_code_gen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698