ForNeVeR / ForNeVeR/TruePath

Explicit support for exotic paths on Windows

Offen
#24 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement help wanted
Vorherrschende Sprache
C#
Sterne
104
Forks
15
Ø Merge
9 Min.
Gemergte PRs (30 T.)
2

Beschreibung

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](https://googleprojectzero.blogspot.com/2016/02/the-definitive-guide-on-win32-to-nt.html) 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginnen Sie mit dem Lesen des verlinkten Leitfadens zu Win32-to-NT-Pfaden und der Untersuchung des Parsing-, Manipulations-, Kanonisierungs- und Quoting-Verhaltens von TruePath's AbsolutePath. Die Aufgabe bleibt offen: Als abgeschlossen gilt sie erst, wenn ein abgestimmter Ansatz für lokale Gerätepfade, lokale Gerätepfade auf Root-Ebene und die Äquivalenz zwischen C:\Foo und \\?\C:\Foo feststeht, bevor der Implementierungsumfang festgelegt werden kann.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
operating-systems
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.