-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
> System.FilePath.Windows.isValid "\\\\?\\UNC\\"
True
> putStrLn "\\\\?\\UNC\\"
\\?\UNC\
I think this is wrong: \\?\UNC\
is incomplete, it is nether file nor folder name.
filepath/System/FilePath/Internal.hs
Lines 1065 to 1067 in 98f8bba
-- | Is a FILEPATH valid, i.e. could you create a file like it? This function checks for invalid names, | |
-- and invalid characters, but does not check if length limits are exceeded, as these are typically | |
-- filesystem dependent. |
If we are in agreement that isValid
should return False
on this input, there is a harder question ahead. What should be the output of makeValid
? Something like \\?\UNC\_\_
?
Metadata
Metadata
Assignees
Labels
No labels