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

Side by Side Diff: runtime/bin/directory.dart

Issue 9289042: Minor changes to the dart:io library files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add missing files. Created 8 years, 11 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /**
6 * [Directory] objects are used for working with directories.
7 */
5 interface Directory default _Directory { 8 interface Directory default _Directory {
6 /** 9 /**
7 * Creates a directory object. The path is either a full path or 10 * Creates a directory object. The path is either a full path or
8 * relative to the directory in which the Dart VM was 11 * relative to the directory in which the Dart VM was
9 * started. 12 * started.
10 */ 13 */
11 Directory(String path); 14 Directory(String path);
12 15
13 /** 16 /**
14 * Check whether a directory with this name already exists. If the 17 * Check whether a directory with this name already exists. If the
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 final String path; 140 final String path;
138 } 141 }
139 142
140 143
141 class DirectoryException { 144 class DirectoryException {
142 const DirectoryException([String this.message, int this.errorCode = 0]); 145 const DirectoryException([String this.message, int this.errorCode = 0]);
143 String toString() => "DirectoryException: $message"; 146 String toString() => "DirectoryException: $message";
144 final String message; 147 final String message;
145 final int errorCode; 148 final int errorCode;
146 } 149 }
OLDNEW
« no previous file with comments | « editor/tools/features/com.google.dart.tools.deploy.feature_releng/build_rcp.xml ('k') | runtime/bin/eventhandler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698