Skip to content

Commit 4b8c83c

Browse files
authored
Prepare to publish (flutter#72)
Tweak a doc comment, bump version in pubspec.
1 parent d36892d commit 4b8c83c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/src/parsed_path.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,13 @@ class ParsedPath {
179179
return leftMostIndexedCharacter;
180180
}
181181

182-
/// Splits the last non-empty part of the path into a `[basename, extension`]
182+
/// Splits the last non-empty part of the path into a `[basename, extension]`
183183
/// pair.
184184
///
185185
/// Takes an optional parameter `level` which makes possible to return
186186
/// multiple extensions having `level` number of dots. If `level` exceeds the
187-
/// number of dots, the path is splitted into the left most dot. The value of
188-
/// `level` must be greater than 0, else `RangeError` is thrown.
187+
/// number of dots, the path is split at the first most dot. The value of
188+
/// `level` must be greater than 0, else `RangeError` is thrown.
189189
///
190190
/// Returns a two-element list. The first is the name of the file without any
191191
/// extension. The second is the extension or "" if it has none.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: path
2-
version: 1.6.5-dev
2+
version: 1.7.0
33

44
description: >-
55
A string-based path manipulation library. All of the path operations you know

0 commit comments

Comments
 (0)