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

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

Issue 2974433002: Remaining private libs (Closed)
Patch Set: It's html_common Created 3 years, 5 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/io_sink.dart ('k') | sdk/lib/io/platform.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 "io.dart"; 5 part of "dart:io";
6 6
7 /** 7 /**
8 * [Link] objects are references to filesystem links. 8 * [Link] objects are references to filesystem links.
9 * 9 *
10 */ 10 */
11 abstract class Link implements FileSystemEntity { 11 abstract class Link implements FileSystemEntity {
12 /** 12 /**
13 * Creates a Link object. 13 * Creates a Link object.
14 */ 14 */
15 factory Link(String path) => new _Link(path); 15 factory Link(String path) => new _Link(path);
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 return new ArgumentError(); 291 return new ArgumentError();
292 case _OSERROR_RESPONSE: 292 case _OSERROR_RESPONSE:
293 var err = new OSError(response[_OSERROR_RESPONSE_MESSAGE], 293 var err = new OSError(response[_OSERROR_RESPONSE_MESSAGE],
294 response[_OSERROR_RESPONSE_ERROR_CODE]); 294 response[_OSERROR_RESPONSE_ERROR_CODE]);
295 return new FileSystemException(message, path, err); 295 return new FileSystemException(message, path, err);
296 default: 296 default:
297 return new Exception("Unknown error"); 297 return new Exception("Unknown error");
298 } 298 }
299 } 299 }
300 } 300 }
OLDNEW
« no previous file with comments | « sdk/lib/io/io_sink.dart ('k') | sdk/lib/io/platform.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698