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

Side by Side Diff: sdk/lib/io/file_system_entity.dart

Issue 12314153: dart:io | Rename File.name to File.path. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove stray line break. Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart.io; 5 part of dart.io;
6 6
7 /** 7 /**
8 * A [FileSystemEntity] is a common super class for [File] and 8 * A [FileSystemEntity] is a common super class for [File] and
9 * [Directory] objects. 9 * [Directory] objects.
10 * 10 *
11 * [FileSystemEntity] objects are returned from directory listing 11 * [FileSystemEntity] objects are returned from directory listing
12 * operations. To determine if a FileSystemEntity is a [File] or a 12 * operations. To determine if a FileSystemEntity is a [File] or a
13 * [Directory], perform a type check: 13 * [Directory], perform a type check:
14 * 14 *
15 * if (entity is File) (entity as File).readAsStringSync(); 15 * if (entity is File) (entity as File).readAsStringSync();
16 */ 16 */
17 abstract class FileSystemEntity { 17 abstract class FileSystemEntity {
18 String get path;
18 } 19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698