{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TupleSections #-} -- | -- -- Module : System.URI.File -- Description : ByteString file URI Parser -- Copyright : (c) Soostone Inc., 2014-2015 -- Michael Xavier, 2014-2015 -- Julian Ospald, 2024 -- License : BSD3 -- Maintainer : hasufell@posteo.de -- Stability : experimental -- -- @System.URI.File@ aims to be an compliant URI file parser that uses -- efficient ByteStrings for parsing and representing the data. -- -- As such it only parses a subset of , but is better at interpreting -- the file paths. __Filepaths are always absolute according to the spec__. -- -- Part of this module was ripped off of the package from -- Soostone (specifically the host part parsing). module System.URI.File ( -- * Data types FileURI(..) , ParseSyntax(..) -- * Parsing , parseFileURI -- * Attoparsec parsers , fileURIStrictP , fileURIExtendedPosixP , fileURIExtendedWindowsP ) where import System.URI.File.Internal