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

Side by Side Diff: tools/testing/dart/vendored_pkg/path/path.dart

Issue 11931025: Unbreak local browser testing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « tools/testing/dart/vendored_pkg/args/src/usage.dart ('k') | no next file » | 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 /// A comprehensive, cross-platform path manipulation library. 5 /// A comprehensive, cross-platform path manipulation library.
6 library path; 6 library path;
7 7
8 import 'dart:io' as io; 8 import 'dart:io' as io;
9 9
10 /// An internal builder for the current OS so we can provide a straight 10 /// An internal builder for the current OS so we can provide a straight
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 // If there is no dot, or it's the first character, like '.bashrc', it 680 // If there is no dot, or it's the first character, like '.bashrc', it
681 // doesn't count. 681 // doesn't count.
682 if (lastDot <= 0) return [file, '']; 682 if (lastDot <= 0) return [file, ''];
683 683
684 return [file.substring(0, lastDot), file.substring(lastDot)]; 684 return [file.substring(0, lastDot), file.substring(lastDot)];
685 } 685 }
686 686
687 _ParsedPath clone() => new _ParsedPath( 687 _ParsedPath clone() => new _ParsedPath(
688 style, root, new List.from(parts), new List.from(separators)); 688 style, root, new List.from(parts), new List.from(separators));
689 } 689 }
OLDNEW
« no previous file with comments | « tools/testing/dart/vendored_pkg/args/src/usage.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698