haskell / haskell/filepath

Improve makeValid/isValid further (on windows)

Open
#92 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Haskell
Stars
74
Forks
38
PR merge metrics
No merged PRs in 30d

Description

https://github.com/hasufell/abstract-filepath/issues/10#issuecomment-900782958

> But as an example the file you linked makes an assumption that the only valid absolute filepath on Windows is one that starts with a drive letter. Which is not true.
>
> It also makes an assumption that badElements is invalid for all paths on Windows. Which is also not true. e.g. \\.\COM1 is perfectly valid and points to the first COM port.
>
> It makes an attempt to distinguish between the different namespaces. As in, it recognizes \\?\ but then makeValid doesn't seem to.

Also related: https://github.com/haskell/filepath/issues/56

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.