Safe Haskell | None |
---|---|
Language | GHC2021 |
FileSystem.PathType
Description
Provides a type for distinguishing different path types.
Since: 0.1
Synopsis
- data PathType
- displayPathType :: IsString a => PathType -> a
Documentation
Path type.
Since: 0.1
Constructors
PathTypeFile | Since: 0.1 |
PathTypeDirectory | Since: 0.1 |
PathTypeSymbolicLink | Since: 0.1 |
PathTypeOther | Since: 0.1 |
Instances
NFData PathType Source # | Since: 0.1 | ||||
Defined in FileSystem.PathType | |||||
Bounded PathType Source # | Since: 0.1 | ||||
Enum PathType Source # | Since: 0.1 | ||||
Defined in FileSystem.PathType | |||||
Generic PathType Source # | |||||
Defined in FileSystem.PathType Associated Types
| |||||
Show PathType Source # | Since: 0.1 | ||||
Eq PathType Source # | Since: 0.1 | ||||
Ord PathType Source # | Since: 0.1 | ||||
Defined in FileSystem.PathType | |||||
type Rep PathType Source # | Since: 0.1 | ||||
Defined in FileSystem.PathType type Rep PathType = D1 ('MetaData "PathType" "FileSystem.PathType" "fs-utils-0.1-inplace" 'False) ((C1 ('MetaCons "PathTypeFile" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PathTypeDirectory" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PathTypeSymbolicLink" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PathTypeOther" 'PrefixI 'False) (U1 :: Type -> Type))) |