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

Side by Side Diff: lib/io/path.dart

Issue 11337019: Use patching for dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 8 years, 1 month 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) 2012, 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 /** 5 /**
6 * A Path, which is a String interpreted as a sequence of path segments, 6 * A Path, which is a String interpreted as a sequence of path segments,
7 * which are strings, separated by forward slashes. 7 * which are strings, separated by forward slashes.
8 * Paths are immutable wrappers of a String, that offer member functions for 8 * Paths are immutable wrappers of a String, that offer member functions for
9 * useful path manipulations and queries. Joining of paths and normalization 9 * useful path manipulations and queries. Joining of paths and normalization
10 * interpret '.' and '..' in the usual way. 10 * interpret '.' and '..' in the usual way.
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 /** 166 /**
167 * The part of [filename] after the last '.', or '' if [filename] 167 * The part of [filename] after the last '.', or '' if [filename]
168 * contains no '.'. If [filename] is '.' or '..', returns ''. 168 * contains no '.'. If [filename] is '.' or '..', returns ''.
169 * 169 *
170 * new Path('tiger.svg').extension == 'svg' 170 * new Path('tiger.svg').extension == 'svg'
171 * new Path('/src/dart/dart_secrets').extension == '' 171 * new Path('/src/dart/dart_secrets').extension == ''
172 */ 172 */
173 String get extension; 173 String get extension;
174 } 174 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698