Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path module updates and fixes #331

Merged
merged 2 commits into from
Aug 4, 2020
Merged

Path module updates and fixes #331

merged 2 commits into from
Aug 4, 2020

Conversation

Tieske
Copy link
Member

@Tieske Tieske commented Aug 3, 2020

No description provided.

@Tieske Tieske force-pushed the path branch 2 times, most recently from e63c82e to 9b40a85 Compare August 3, 2020 08:14
@tst2005
Copy link
Contributor

tst2005 commented Aug 3, 2020

Hello,

Just a suggestion...

We have 2 major path to support : "unix" and "windows".
Most of the difference stay arround of string manipulations.

IMHO It should be interesting to have the both implementation available at the same time.
we will be able to test the both implementation from unix and windows.
It should be setup inside in path.windows.isabs and path.unix.isabs

Finaly the default function should just be mapped to the proper platform (path.isabs should be path.windows.isabs or path.unix.isabs).

Regards,

@Tieske
Copy link
Member Author

Tieske commented Aug 3, 2020

@tst2005 I did run across that problem, while reworking this module, that is an interesting solution.

Previously a path like "c:some/path" returned true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants