cppfastio / fast_io

Freestanding fast input/output for C++20
MIT License
661 stars 55 forks source link

Fix nt_file does not support nt_part #932

Closed MacroModel closed 6 days ago

MacroModel commented 6 days ago

Fix nt_file does not support nt_part

MacroModel commented 6 days ago

nt_file support nt path ,unc path and dos path a06fae96f406e0c21b0771f6ca8a7cca

MacroModel commented 6 days ago

win32 file should only supported dos path and unc path

MacroModel commented 6 days ago
nt api supported:
NT path (Only right slash can be used) = \??\D:\Plans\Marshall
NT Device Path  (Only right slash can be used) = \Device\HardiskVolume6\Plans\Marshall

fast_io nt_file supported:
Dos Relative path (Left slash available) = ..\HAL 9000
DOS Drive path (Left slash available) = C:\Program FIle\HAL 9000
UNC path (Left slash available) = \\Media\Pictures\Worth\1000 words
UNC Device path (literal)  (Left slash available) = \\?\D:\Plans\Marshall
UNC Device path (normalized)  (Left slash available) = \\.\D:\Plans\Marshall
NT path (Only right slash can be used) = \??\D:\Plans\Marshall
NT Device Path  (Only right slash can be used) = \Device\HardiskVolume6\Plans\Marshall

win32 api and fast_io win32_file supported:
Dos Relative path (Left slash available) = ..\HAL 9000
DOS Drive path (Left slash available) = C:\Program FIle\HAL 9000
UNC path (Left slash available) = \\Media\Pictures\Worth\1000 words
UNC Device path (literal)  (Left slash available) = \\?\D:\Plans\Marshall
UNC Device path (normalized)  (Left slash available) = \\.\D:\Plans\Marshall
NT path (Only right slash can be used) = \??\D:\Plans\Marshall
MacroModel commented 6 days ago

support nt time!