| Index: pkg/path/lib/path.dart
|
| diff --git a/pkg/path/lib/path.dart b/pkg/path/lib/path.dart
|
| index cf59a6513927936ae164346519840e3cb03f6203..854d4da3f5d48f2c9757730de4657282facc889a 100644
|
| --- a/pkg/path/lib/path.dart
|
| +++ b/pkg/path/lib/path.dart
|
| @@ -31,7 +31,7 @@ String absolute(String path) => join(current, path);
|
| ///
|
| /// Trailing separators are ignored.
|
| ///
|
| -/// builder.dirname('path/to/'); // -> 'to'
|
| +/// builder.basename('path/to/'); // -> 'to'
|
| String basename(String path) => _builder.basename(path);
|
|
|
| /// Gets the part of [path] after the last separator, and without any trailing
|
| @@ -41,7 +41,7 @@ String basename(String path) => _builder.basename(path);
|
| ///
|
| /// Trailing separators are ignored.
|
| ///
|
| -/// builder.dirname('path/to/foo.dart/'); // -> 'foo'
|
| +/// builder.basenameWithoutExtension('path/to/foo.dart/'); // -> 'foo'
|
| String basenameWithoutExtension(String path) =>
|
| _builder.basenameWithoutExtension(path);
|
|
|
|
|