Copyright | (c) Sergey Vinokurov 2024 |
---|---|
License | Apache-2.0 (see LICENSE) |
Maintainer | serg.foo@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
System.Directory.OsPath.Types
Description
Synopsis
- data SymlinkType
- data FileType
- newtype Basename a = Basename {
- unBasename :: a
- newtype Relative a = Relative {
- unRelative :: a
Documentation
data SymlinkType Source #
Instances
NFData SymlinkType Source # | |||||
Defined in System.Directory.OsPath.Types Methods rnf :: SymlinkType -> () | |||||
Generic SymlinkType Source # | |||||
Defined in System.Directory.OsPath.Types Associated Types
| |||||
Read SymlinkType Source # | |||||
Defined in System.Directory.OsPath.Types Methods readsPrec :: Int -> ReadS SymlinkType readList :: ReadS [SymlinkType] readPrec :: ReadPrec SymlinkType readListPrec :: ReadPrec [SymlinkType] | |||||
Show SymlinkType Source # | |||||
Defined in System.Directory.OsPath.Types Methods showsPrec :: Int -> SymlinkType -> ShowS show :: SymlinkType -> String showList :: [SymlinkType] -> ShowS | |||||
Eq SymlinkType Source # | |||||
Defined in System.Directory.OsPath.Types | |||||
Ord SymlinkType Source # | |||||
Defined in System.Directory.OsPath.Types Methods compare :: SymlinkType -> SymlinkType -> Ordering (<) :: SymlinkType -> SymlinkType -> Bool (<=) :: SymlinkType -> SymlinkType -> Bool (>) :: SymlinkType -> SymlinkType -> Bool (>=) :: SymlinkType -> SymlinkType -> Bool max :: SymlinkType -> SymlinkType -> SymlinkType min :: SymlinkType -> SymlinkType -> SymlinkType | |||||
type Rep SymlinkType Source # | |||||
Defined in System.Directory.OsPath.Types type Rep SymlinkType = D1 ('MetaData "SymlinkType" "System.Directory.OsPath.Types" "directory-ospath-streaming-0.2.1-5ImsT3vbN7bAqaqgorrvZh" 'False) (C1 ('MetaCons "Regular" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Symlink" 'PrefixI 'False) (U1 :: Type -> Type)) |
Constructors
File !SymlinkType | |
Directory !SymlinkType | |
Other !SymlinkType |
Instances
NFData FileType Source # | |||||
Defined in System.Directory.OsPath.Types | |||||
Generic FileType Source # | |||||
Defined in System.Directory.OsPath.Types Associated Types
| |||||
Read FileType Source # | |||||
Defined in System.Directory.OsPath.Types | |||||
Show FileType Source # | |||||
Eq FileType Source # | |||||
Ord FileType Source # | |||||
Defined in System.Directory.OsPath.Types | |||||
type Rep FileType Source # | |||||
Defined in System.Directory.OsPath.Types type Rep FileType = D1 ('MetaData "FileType" "System.Directory.OsPath.Types" "directory-ospath-streaming-0.2.1-5ImsT3vbN7bAqaqgorrvZh" 'False) (C1 ('MetaCons "File" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 SymlinkType)) :+: (C1 ('MetaCons "Directory" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 SymlinkType)) :+: C1 ('MetaCons "Other" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 SymlinkType)))) |
Basename part of filename, without directory separators.
Constructors
Basename | |
Fields
|
Instances
Functor Basename Source # | |||||
Foldable Basename Source # | |||||
Defined in System.Directory.OsPath.Types Methods fold :: Monoid m => Basename m -> m foldMap :: Monoid m => (a -> m) -> Basename a -> m foldMap' :: Monoid m => (a -> m) -> Basename a -> m foldr :: (a -> b -> b) -> b -> Basename a -> b foldr' :: (a -> b -> b) -> b -> Basename a -> b foldl :: (b -> a -> b) -> b -> Basename a -> b foldl' :: (b -> a -> b) -> b -> Basename a -> b foldr1 :: (a -> a -> a) -> Basename a -> a foldl1 :: (a -> a -> a) -> Basename a -> a elem :: Eq a => a -> Basename a -> Bool maximum :: Ord a => Basename a -> a minimum :: Ord a => Basename a -> a | |||||
Traversable Basename Source # | |||||
Generic1 Basename Source # | |||||
Defined in System.Directory.OsPath.Types Associated Types
| |||||
NFData a => NFData (Basename a) Source # | |||||
Defined in System.Directory.OsPath.Types | |||||
Generic (Basename a) Source # | |||||
Defined in System.Directory.OsPath.Types Associated Types
| |||||
Show a => Show (Basename a) Source # | |||||
Eq a => Eq (Basename a) Source # | |||||
Ord a => Ord (Basename a) Source # | |||||
type Rep1 Basename Source # | |||||
Defined in System.Directory.OsPath.Types type Rep1 Basename = D1 ('MetaData "Basename" "System.Directory.OsPath.Types" "directory-ospath-streaming-0.2.1-5ImsT3vbN7bAqaqgorrvZh" 'True) (C1 ('MetaCons "Basename" 'PrefixI 'True) (S1 ('MetaSel ('Just "unBasename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) Par1)) | |||||
type Rep (Basename a) Source # | |||||
Defined in System.Directory.OsPath.Types type Rep (Basename a) = D1 ('MetaData "Basename" "System.Directory.OsPath.Types" "directory-ospath-streaming-0.2.1-5ImsT3vbN7bAqaqgorrvZh" 'True) (C1 ('MetaCons "Basename" 'PrefixI 'True) (S1 ('MetaSel ('Just "unBasename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a))) |
Filename relative to some other path.
Constructors
Relative | |
Fields
|
Instances
Functor Relative Source # | |||||
Foldable Relative Source # | |||||
Defined in System.Directory.OsPath.Types Methods fold :: Monoid m => Relative m -> m foldMap :: Monoid m => (a -> m) -> Relative a -> m foldMap' :: Monoid m => (a -> m) -> Relative a -> m foldr :: (a -> b -> b) -> b -> Relative a -> b foldr' :: (a -> b -> b) -> b -> Relative a -> b foldl :: (b -> a -> b) -> b -> Relative a -> b foldl' :: (b -> a -> b) -> b -> Relative a -> b foldr1 :: (a -> a -> a) -> Relative a -> a foldl1 :: (a -> a -> a) -> Relative a -> a elem :: Eq a => a -> Relative a -> Bool maximum :: Ord a => Relative a -> a minimum :: Ord a => Relative a -> a | |||||
Traversable Relative Source # | |||||
Generic1 Relative Source # | |||||
Defined in System.Directory.OsPath.Types Associated Types
| |||||
NFData a => NFData (Relative a) Source # | |||||
Defined in System.Directory.OsPath.Types | |||||
Generic (Relative a) Source # | |||||
Defined in System.Directory.OsPath.Types Associated Types
| |||||
Show a => Show (Relative a) Source # | |||||
Eq a => Eq (Relative a) Source # | |||||
Ord a => Ord (Relative a) Source # | |||||
type Rep1 Relative Source # | |||||
Defined in System.Directory.OsPath.Types type Rep1 Relative = D1 ('MetaData "Relative" "System.Directory.OsPath.Types" "directory-ospath-streaming-0.2.1-5ImsT3vbN7bAqaqgorrvZh" 'True) (C1 ('MetaCons "Relative" 'PrefixI 'True) (S1 ('MetaSel ('Just "unRelative") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) Par1)) | |||||
type Rep (Relative a) Source # | |||||
Defined in System.Directory.OsPath.Types type Rep (Relative a) = D1 ('MetaData "Relative" "System.Directory.OsPath.Types" "directory-ospath-streaming-0.2.1-5ImsT3vbN7bAqaqgorrvZh" 'True) (C1 ('MetaCons "Relative" 'PrefixI 'True) (S1 ('MetaSel ('Just "unRelative") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a))) |