Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Path.with_extension and refactor Path
Path.with_extension returns a new path with a given extension. Path.tail and Path.directory are refactored to use Path.components, ensuring they behave correctly with a wider range of paths. Changelog: added
- Loading branch information
1 parent
23495ba
commit 4ee577a
Showing
2 changed files
with
175 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters