Skip to content

lib/path: Fix @go.canonicalize_path bugs, add @go.add_parent_dir_if_relative_path#206

Merged
mbland merged 3 commits intomasterfrom
path-lib
Sep 4, 2017
Merged

lib/path: Fix @go.canonicalize_path bugs, add @go.add_parent_dir_if_relative_path#206
mbland merged 3 commits intomasterfrom
path-lib

Conversation

@mbland
Copy link
Copy Markdown
Owner

@mbland mbland commented Sep 4, 2017

@go.canonicalize_path now canonicalizes the empty string as the empty path, and removes leading ./ components.

The need for @go.add_parent_dir_if_relative_path became apparent while creating the upcoming @go.copy_files_safely.

Also adds a test case to ensure that trailing '/.' strings are resolved.
The need for this became apparent while creating the upcoming
`@go.copy_files_safely`.
@mbland mbland added this to the v1.7.0 milestone Sep 4, 2017
@mbland mbland self-assigned this Sep 4, 2017
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.02%) to 94.926% when pulling b43aeb3 on path-lib into 19403c9 on master.

@mbland mbland merged commit 8f83587 into master Sep 4, 2017
@mbland mbland deleted the path-lib branch September 4, 2017 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants