Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Normalize paths in Windows (fix #113) #116

Merged
merged 6 commits into from
Jan 30, 2019
Merged

Normalize paths in Windows (fix #113) #116

merged 6 commits into from
Jan 30, 2019

Conversation

r-darwish
Copy link
Owner

While //?/C:/Users/Someone/config-files is a valid path, it's not very human friendly.
Such paths are returned from BaseDirs. This patch formats them in the traditional way.

@r-darwish r-darwish requested a review from drrlvn January 30, 2019 08:46
src/utils.rs Outdated Show resolved Hide resolved
src/utils.rs Outdated Show resolved Hide resolved
While `//?/C:/Users/Someone/config-files` is a valid path, it's not very human friendly.
Such paths are returned from `BaseDirs`. This patch formats them in the traditional way.
Copy link
Collaborator

@drrlvn drrlvn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add tests for HumanizedPath.

src/utils.rs Outdated Show resolved Hide resolved
src/utils.rs Outdated Show resolved Hide resolved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants