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

Unified Diff: pkg/polymer/lib/src/file_system.dart

Issue 23898009: Switch polymer's build.dart to use the new linter. This CL does the following (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: addressing john comments (part 2) - renamed files Created 7 years, 3 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
« no previous file with comments | « pkg/polymer/lib/src/custom_tag_name.dart ('k') | pkg/polymer/lib/src/file_system/console.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/src/file_system.dart
diff --git a/pkg/polymer/lib/src/file_system.dart b/pkg/polymer/lib/src/file_system.dart
deleted file mode 100644
index c6af55ce8b0744deacd8d9556367d71036c86b97..0000000000000000000000000000000000000000
--- a/pkg/polymer/lib/src/file_system.dart
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// 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.
-
-/** Abstraction for file systems and utility functions to manipulate paths. */
-library file_system;
-
-import 'dart:async';
-
-/**
- * Abstraction around file system access to work in a variety of different
- * environments.
- */
-abstract class FileSystem {
- /**
- * Apply all pending writes. Until this method is called, writeString is not
- * guaranteed to have any observable impact.
- */
- Future flush();
-
- /**
- * Reads bytes if possible, but falls back to text if running in a browser.
- * Return type is either [Future<List<int>>] or [Future<String>].
- */
- Future readTextOrBytes(String path);
-
- /* Like [readTextOrBytes], but decodes bytes as UTF-8. Used for Dart code. */
- Future<String> readText(String path);
-
- /**
- * Writes [text] to file at [path]. Call flush to insure that changes are
- * visible.
- */
- void writeString(String path, String text);
-}
« no previous file with comments | « pkg/polymer/lib/src/custom_tag_name.dart ('k') | pkg/polymer/lib/src/file_system/console.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698