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

Unified Diff: sdk/lib/io/file.dart

Issue 1083393004: Add uri getter on file system entity. (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
« no previous file with comments | « sdk/lib/io/directory_impl.dart ('k') | sdk/lib/io/file_system_entity.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/file.dart
diff --git a/sdk/lib/io/file.dart b/sdk/lib/io/file.dart
index ce7fa1b364b22dd57ce43e60c99a0db6c9d68a3d..df35660e9c2830dcef5b15c1ca3e1ff94b32d3e2 100644
--- a/sdk/lib/io/file.dart
+++ b/sdk/lib/io/file.dart
@@ -98,7 +98,7 @@ enum FileLock {
* You might want to use a stream to read large files,
* to manipulate the data with tranformers,
* or for compatibility with another API, such as [WebSocket]s.
- *
+ *
* import 'dart:io';
* import 'dart:convert';
* import 'dart:async';
@@ -136,7 +136,7 @@ enum FileLock {
* Be sure to close the file with the [close] method.
*
* import 'dart:io';
- *
+ *
* void main() {
* var file = new File('file.txt');
* var sink = file.openWrite();
@@ -158,7 +158,7 @@ enum FileLock {
*
* main() {
* final file = new File('file.txt');
- *
+ *
* file.length().then((len) {
* print(len);
* });
@@ -170,7 +170,7 @@ enum FileLock {
* ## Other resources
*
* * [Dart by Example](https://www.dartlang.org/dart-by-example/#files-directories-and-symlinks)
- * provides additional task-oriented code samples that show how to use
+ * provides additional task-oriented code samples that show how to use
* various API from the Directory class and the related [File] class.
*
* * [I/O for Command-Line Apps](https://www.dartlang.org/docs/dart-up-and-running/contents/ch03.html#ch03-dartio---file-and-socket-io-for-command-line-apps)
@@ -182,7 +182,7 @@ enum FileLock {
* about files and directories.
*/
-abstract class File extends FileSystemEntity {
+abstract class File implements FileSystemEntity {
/**
* Creates a [File] object.
*
« no previous file with comments | « sdk/lib/io/directory_impl.dart ('k') | sdk/lib/io/file_system_entity.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698