File: ByteString.hs

package info (click to toggle)
haskell-filepath-bytestring 1.5.2.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 216 kB
  • sloc: haskell: 1,285; makefile: 3
file content (27 lines) | stat: -rw-r--r-- 821 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{-# LANGUAGE CPP #-}
{- |
Module      :  System.FilePath.ByteString
Copyright   :  (c) Neil Mitchell 2005-2014, (c) Joey Hess 2019
License     :  BSD3

Maintainer  :  id@joeyh.name
Stability   :  stable
Portability :  portable

A library for 'RawFilePath' manipulations, using Posix or Windows filepaths
depending on the platform.

Both "System.FilePath.Posix.ByteString"
and "System.FilePath.Windows.ByteString" provide the
same interface. See either for examples and a list of the available
functions.
-}


#if defined(mingw32_HOST_OS) || defined(__MINGW32__)
module System.FilePath.ByteString(module System.FilePath.Windows.ByteString) where
import System.FilePath.Windows.ByteString
#else
module System.FilePath.ByteString(module System.FilePath.Posix.ByteString) where
import System.FilePath.Posix.ByteString
#endif