| Index: pkg/pathos/lib/path.dart
|
| diff --git a/pkg/pathos/lib/path.dart b/pkg/pathos/lib/path.dart
|
| index d60ac76f8710599c3fa83c4ecd04065e8dda4a5f..71c7dfb9be72c7905c33d1e154ce811668a899a5 100644
|
| --- a/pkg/pathos/lib/path.dart
|
| +++ b/pkg/pathos/lib/path.dart
|
| @@ -245,7 +245,7 @@ class Builder {
|
| ///
|
| /// Trailing separators are ignored.
|
| ///
|
| - /// builder.dirname('path/to/'); // -> 'to'
|
| + /// builder.basename('path/to/'); // -> 'to'
|
| String basename(String path) => _parse(path).basename;
|
|
|
| /// Gets the part of [path] after the last separator on the builder's
|
| @@ -255,7 +255,7 @@ class Builder {
|
| ///
|
| /// Trailing separators are ignored.
|
| ///
|
| - /// builder.dirname('path/to/foo.dart/'); // -> 'foo'
|
| + /// builder.basenameWithoutExtension('path/to/foo.dart/'); // -> 'foo'
|
| String basenameWithoutExtension(String path) =>
|
| _parse(path).basenameWithoutExtension;
|
|
|
|
|