fs-utils-0.1: FileSystem utils
Safe HaskellNone
LanguageGHC2021

FileSystem.PathType

Description

Provides a type for distinguishing different path types.

Since: 0.1

Synopsis

Documentation

data PathType Source #

Path type.

Since: 0.1

Constructors

PathTypeFile

Since: 0.1

PathTypeDirectory

Since: 0.1

PathTypeSymbolicLink

Since: 0.1

PathTypeOther

Since: 0.1

Instances

Instances details
NFData PathType Source #

Since: 0.1

Instance details

Defined in FileSystem.PathType

Methods

rnf :: PathType -> () #

Bounded PathType Source #

Since: 0.1

Instance details

Defined in FileSystem.PathType

Enum PathType Source #

Since: 0.1

Instance details

Defined in FileSystem.PathType

Generic PathType Source # 
Instance details

Defined in FileSystem.PathType

Associated Types

type Rep PathType

Since: fs-utils-0.1

Instance details

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)))

Methods

from :: PathType -> Rep PathType x #

to :: Rep PathType x -> PathType #

Show PathType Source #

Since: 0.1

Instance details

Defined in FileSystem.PathType

Eq PathType Source #

Since: 0.1

Instance details

Defined in FileSystem.PathType

Ord PathType Source #

Since: 0.1

Instance details

Defined in FileSystem.PathType

type Rep PathType Source #

Since: 0.1

Instance details

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)))

displayPathType :: IsString a => PathType -> a Source #

String representation of PathType.

Since: 0.1