-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: dir property, utilize path.join (#2)
* feat: dir property, utilize path.join Adds a `dir` property to get the full path of the directory for the given FilePath instance. Mirrors `file`. Uses `path.join` when building `path`, and `dir` to normalize `..` and `.`. These are kept in `folders` for posterity. * chore: method comments * refactor: set folders directly (#3) * refactor: set folders attribute directly * test: remove erroneous test addition * docs: readme mistake Co-authored-by: Matt Forster <matt@autovance.com>
- Loading branch information
Tyler Stewart
and
Matt Forster
authored
Jun 10, 2020
1 parent
eba7e1f
commit 56050ef
Showing
3 changed files
with
63 additions
and
6 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
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