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

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

Issue 11612020: Revert "Switch libraries to using new tags." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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
« no previous file with comments | « sdk/lib/io/output_stream.dart ('k') | sdk/lib/io/path_impl.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) 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 part of dart.io;
6
7 /** 5 /**
8 * 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,
9 * which are strings, separated by forward slashes. 7 * which are strings, separated by forward slashes.
10 * 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
11 * useful path manipulations and queries. Joining of paths and normalization 9 * useful path manipulations and queries. Joining of paths and normalization
12 * interpret '.' and '..' in the usual way. 10 * interpret '.' and '..' in the usual way.
13 */ 11 */
14 abstract class Path { 12 abstract class Path {
15 /** 13 /**
16 * Creates a Path from the String [source]. [source] is used as-is, so if 14 * Creates a Path from the String [source]. [source] is used as-is, so if
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 186
189 /** 187 /**
190 * The part of [filename] after the last '.', or '' if [filename] 188 * The part of [filename] after the last '.', or '' if [filename]
191 * contains no '.'. If [filename] is '.' or '..', returns ''. 189 * contains no '.'. If [filename] is '.' or '..', returns ''.
192 * 190 *
193 * new Path('tiger.svg').extension == 'svg' 191 * new Path('tiger.svg').extension == 'svg'
194 * new Path('/src/dart/dart_secrets').extension == '' 192 * new Path('/src/dart/dart_secrets').extension == ''
195 */ 193 */
196 String get extension; 194 String get extension;
197 } 195 }
OLDNEW
« no previous file with comments | « sdk/lib/io/output_stream.dart ('k') | sdk/lib/io/path_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698