{-# LINE 1 "System/Console/Haskeline/Directory.hsc" #-} {- | {-# LINE 2 "System/Console/Haskeline/Directory.hsc" #-} A Unicode-aware module for interacting with files. We just need enough to support filename completion. In particular, these functions will silently handle all errors (for example, file does not exist) -} module System.Console.Haskeline.Directory( getDirectoryContents, doesDirectoryExist, getHomeDirectory ) where {-# LINE 84 "System/Console/Haskeline/Directory.hsc" #-} -- POSIX -- On 7.2.1 and later, getDirectoryContents uses the locale encoding -- But previous version don't, so we need to decode manually. {-# LINE 89 "System/Console/Haskeline/Directory.hsc" #-} import System.Directory {-# LINE 120 "System/Console/Haskeline/Directory.hsc" #-} {-# LINE 121 "System/Console/Haskeline/Directory.hsc" #-}