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

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

Issue 2655883002: fix spelling in core libraries (Closed)
Patch Set: while I’m at it… Created 3 years, 10 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
« no previous file with comments | « sdk/lib/io/file.dart ('k') | sdk/lib/io/http.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * The type of an entity on the file system, such as a file, directory, or link. 8 * The type of an entity on the file system, such as a file, directory, or link.
9 * 9 *
10 * These constants are used by the [FileSystemEntity] class 10 * These constants are used by the [FileSystemEntity] class
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 809
810 String toString() => "FileSystemDeleteEvent('$path')"; 810 String toString() => "FileSystemDeleteEvent('$path')";
811 } 811 }
812 812
813 813
814 /** 814 /**
815 * File system event for moving of file system objects. 815 * File system event for moving of file system objects.
816 */ 816 */
817 class FileSystemMoveEvent extends FileSystemEvent { 817 class FileSystemMoveEvent extends FileSystemEvent {
818 /** 818 /**
819 * If the underlaying implementation is able to identify the destination of 819 * If the underlying implementation is able to identify the destination of
820 * the moved file, [destination] will be set. Otherwise, it will be `null`. 820 * the moved file, [destination] will be set. Otherwise, it will be `null`.
821 */ 821 */
822 final String destination; 822 final String destination;
823 823
824 FileSystemMoveEvent._(path, isDirectory, this.destination) 824 FileSystemMoveEvent._(path, isDirectory, this.destination)
825 : super._(FileSystemEvent.MOVE, path, isDirectory); 825 : super._(FileSystemEvent.MOVE, path, isDirectory);
826 826
827 String toString() { 827 String toString() {
828 var buffer = new StringBuffer(); 828 var buffer = new StringBuffer();
829 buffer.write("FileSystemMoveEvent('$path'"); 829 buffer.write("FileSystemMoveEvent('$path'");
830 if (destination != null) buffer.write(", '$destination'"); 830 if (destination != null) buffer.write(", '$destination'");
831 buffer.write(')'); 831 buffer.write(')');
832 return buffer.toString(); 832 return buffer.toString();
833 } 833 }
834 } 834 }
835 835
836 836
837 class _FileSystemWatcher { 837 class _FileSystemWatcher {
838 external static Stream<FileSystemEvent> _watch( 838 external static Stream<FileSystemEvent> _watch(
839 String path, int events, bool recursive); 839 String path, int events, bool recursive);
840 external static bool get isSupported; 840 external static bool get isSupported;
841 } 841 }
OLDNEW
« no previous file with comments | « sdk/lib/io/file.dart ('k') | sdk/lib/io/http.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698