packages feed

path-0.9.6: test/Common/Windows.hs

{-# LANGUAGE CPP #-}

#define PLATFORM_NAME Windows
#include "Include.hs"

-- See https://learn.microsoft.com/en-us/dotnet/standard/io/file-path-formats
drives_ :: NonEmpty FilePath
drives_ = NonEmpty.fromList
  [ "C:\\" -- Common
  , "C:/" -- Common
  , "\\\\host" -- UNC
  --, "\\\\.\\C:\\" -- DOS Device Path
  , "\\\\?\\C:\\" -- DOS Device Path
  --, "\\\\?\\UNC\\" -- DOS Device Path
  --, "\\\\.\\UNC\\" -- DOS Device Path
  ]