{-# LINE 1 "System/Posix/Directory/Internals.hsc" #-}
-----------------------------------------------------------------------------
-- |
-- Module      :  System.Posix.Directory.Internals
-- Copyright   :  (c) The University of Glasgow 2022
-- License     :  BSD-style (see the file libraries/base/LICENSE)
--
-- Maintainer  :  libraries@haskell.org
-- Stability   :  provisional
-- Portability :  non-portable (requires POSIX)
--
-- POSIX directory support (internal module, no PVP guarantees)
--
-----------------------------------------------------------------------------

module System.Posix.Directory.Internals (
    DirStream(..),
    CDir,
    CDirent,
    DirStreamOffset(..),

    DirStreamWithPath(..),
    fromDirStreamWithPath,
    toDirStreamWithPath,
    DirEnt(..),
    dirEntName,
    dirEntType,
    DirType( DirType
           , UnknownType
           , NamedPipeType
           , CharacterDeviceType
           , DirectoryType
           , BlockDeviceType
           , RegularFileType
           , SymbolicLinkType
           , SocketType
           , WhiteoutType
           ),
    isUnknownType,
    isNamedPipeType,
    isCharacterDeviceType,
    isDirectoryType,
    isBlockDeviceType,
    isRegularFileType,
    isSymbolicLinkType,
    isSocketType,
    isWhiteoutType,
    getRealDirType,
    readDirStreamWith,
    readDirStreamWithPtr,
    ) where

import System.Posix.Directory.Common