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

Explicit support for exotic paths on Windows #24

Open
ForNeVeR opened this issue Apr 21, 2024 · 1 comment
Open

Explicit support for exotic paths on Windows #24

ForNeVeR opened this issue Apr 21, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ForNeVeR
Copy link
Owner

There are a plethora of various interesting types on Windows, including but not limited to:

  • local device paths (\\.\…)
  • root local device paths (\\?\…)

Read the comprehensive guide on the paths to learn more.

TruePath should at least support parsing and manipulating these. We should also decide what to do about path canonicalization: should we consider new AbsolutePath("C:\Foo") to be equal to new AbsolutePath("\\?\C:\Foo")? Should we trim the \\?\ part on parsing, and automatically add it back on path quoting if requested? These are for now open questions.

I am looking for a discussion on how these are used in reality, so that we can decide on what to do with them properly.

@ForNeVeR ForNeVeR added enhancement New feature or request help wanted Extra attention is needed labels Apr 21, 2024
@ForNeVeR
Copy link
Owner Author

@PaGrom, some examples from you on the potential use of these paths may help to move the discussion forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant