Monitor a single directory for changes, based on its modification time. The monitored directory is considered to have changed if it no longer exists or if its modification time has changed.
Modulecabal-install-3.18.1.0
Distribution.Client.RebuildMonad
- 7 types
- 30 values
- Packagecabal-install-3.18.1.0
- Exports37
- LicenceBSD-3-Clause
- SourceTypes.hs
Monitor a single directory for existence. The monitored directory is considered to have changed only if it no longer exists.
Monitor a single file for changes, based on its modification time. The monitored file is considered to have changed if it no longer exists or if its modification time has changed.
Monitor a set of files (or directories) identified by a file glob. The monitored glob is considered to have changed if the set of files matching the glob changes (i.e. creations or deletions), or for files if the modification time and content hash of any matching file has changed.
Monitor a set of files (or directories) identified by a file glob for existence only. The monitored glob is considered to have changed if the set of files matching the glob changes (i.e. creations or deletions).
Monitor a single file for changes, based on its modification time and content hash. The monitored file is considered to have changed if it no longer exists or if its modification time and content hash have changed.
Similar to monitorFileSearchPath, but also instructs us to monitor the hash of the found file.
Monitor a single file or directory for changes, based on its modification time. The monitored file is considered to have changed if it no longer exists or if its modification time has changed.
Creates a list of files to monitor when you search for a file which
unsuccessfully looked in notFoundAtPaths before finding it at
foundAtPath.
Monitor a single non-existent directory for changes. The monitored directory is considered to have changed if it exists.
Monitor a single non-existent file for changes. The monitored file is considered to have changed if it exists.
Constructors
FilePathRelativeFilePathRoot FilePathe.g.
"/","c:"or result oftakeDriveFilePathHomeDir
Instances8Eq, Show, Generic, Binary, Parsec, Pretty, …
Eq FilePathRootDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesShow FilePathRootDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesGeneric FilePathRootDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesBinary FilePathRootDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesParsec FilePathRootDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesPretty FilePathRootDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesStructured FilePathRootDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.Typestype Rep FilePathRoot = D1 ('MetaDataDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.Types"FilePathRoot"
"Distribution.Simple.FileMonitor.Types"
"Cabal-3.18.1.0-2e60"
'False) (C1 ('MetaCons"FilePathRelative"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"FilePathRoot"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath)) :+: C1 ('MetaCons"FilePathHomeDir"
'PrefixI 'False) U1))
A description of a file (or set of files) to monitor for changes.
Where file paths are relative they are relative to a common directory (e.g. project root), not necessarily the process current directory.
Instances6Eq, Show, Generic, Binary, Structured, Rep
Eq MonitorFilePathDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesShow MonitorFilePathDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesGeneric MonitorFilePathDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesBinary MonitorFilePathDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesStructured MonitorFilePathDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.Typestype Rep MonitorFilePath = D1 ('MetaDataDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.Types"MonitorFilePath"
"Distribution.Simple.FileMonitor.Types"
"Cabal-3.18.1.0-2e60"
'False) (C1 ('MetaCons"MonitorFile"
'PrefixI 'True) (S1 ('MetaSel ('Just"monitorKindFile"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MonitorKindFile) :*: (S1 ('MetaSel ('Just"monitorKindDir"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MonitorKindDir) :*: S1 ('MetaSel ('Just"monitorPath"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 FilePath))) :+: C1 ('MetaCons"MonitorFileGlob"
'PrefixI 'True) (S1 ('MetaSel ('Just"monitorKindFile"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MonitorKindFile) :*: (S1 ('MetaSel ('Just"monitorKindDir"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MonitorKindDir) :*: S1 ('MetaSel ('Just"monitorPathGlob"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RootedGlob))))
A file path specified by globbing, relative to some root directory.
Constructors
Instances8Eq, Show, Generic, Binary, Parsec, Pretty, …
Eq RootedGlobDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesShow RootedGlobDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesGeneric RootedGlobDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesBinary RootedGlobDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesParsec RootedGlobDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesPretty RootedGlobDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.TypesStructured RootedGlobDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.Typestype Rep RootedGlob = D1 ('MetaDataDefined in Cabal-3.18.1.0 · Distribution.Simple.FileMonitor.Types"RootedGlob"
"Distribution.Simple.FileMonitor.Types"
"Cabal-3.18.1.0-2e60"
'False) (C1 ('MetaCons"RootedGlob"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePathRoot) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Glob)))
A filepath specified by globbing.
Constructors
GlobDir !GlobPieces !GlobGlobDirRecursive !GlobPiecesGlobFile !GlobPiecesA file glob.
GlobDirTrailingTrailing dir; a glob ending in
/.
Instances8Eq, Show, Generic, Binary, Parsec, Pretty, …
Eq GlobDefined in Cabal-3.18.1.0 · Distribution.Simple.Glob.InternalShow GlobDefined in Cabal-3.18.1.0 · Distribution.Simple.Glob.InternalGeneric GlobDefined in Cabal-3.18.1.0 · Distribution.Simple.Glob.InternalBinary GlobDefined in Cabal-3.18.1.0 · Distribution.Simple.Glob.InternalParsec GlobDefined in Cabal-3.18.1.0 · Distribution.Simple.Glob.InternalPretty GlobDefined in Cabal-3.18.1.0 · Distribution.Simple.Glob.InternalStructured GlobDefined in Cabal-3.18.1.0 · Distribution.Simple.Glob.Internaltype Rep Glob = D1 ('MetaDataDefined in Cabal-3.18.1.0 · Distribution.Simple.Glob.Internal"Glob"
"Distribution.Simple.Glob.Internal"
"Cabal-3.18.1.0-2e60"
'False) ((C1 ('MetaCons"GlobDir"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GlobPieces) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Glob)) :+: C1 ('MetaCons"GlobDirRecursive"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GlobPieces))) :+: (C1 ('MetaCons"GlobFile"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GlobPieces)) :+: C1 ('MetaCons"GlobDirTrailing"
'PrefixI 'False) U1))
A piece of a globbing pattern
Constructors
WildCardA wildcard
*Literal StringA literal string
dirABCUnion [GlobPieces]A union of patterns, e.g.
dir{a,*.txt,c}...
Instances6Eq, Show, Generic, Binary, Structured, Rep
Eq GlobPieceDefined in Cabal-3.18.1.0 · Distribution.Simple.Glob.InternalShow GlobPieceDefined in Cabal-3.18.1.0 · Distribution.Simple.Glob.InternalGeneric GlobPieceDefined in Cabal-3.18.1.0 · Distribution.Simple.Glob.InternalBinary GlobPieceDefined in Cabal-3.18.1.0 · Distribution.Simple.Glob.InternalStructured GlobPieceDefined in Cabal-3.18.1.0 · Distribution.Simple.Glob.Internaltype Rep GlobPiece = D1 ('MetaDataDefined in Cabal-3.18.1.0 · Distribution.Simple.Glob.Internal"GlobPiece"
"Distribution.Simple.Glob.Internal"
"Cabal-3.18.1.0-2e60"
'False) (C1 ('MetaCons"WildCard"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"Literal"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons"Union"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [GlobPieces]))))
Constructors
Instances4Monad, Functor, Applicative, MonadIO
Monad RebuildDefined in cabal-install-3.18.1.0 · Distribution.Client.RebuildMonadFunctor RebuildDefined in cabal-install-3.18.1.0 · Distribution.Client.RebuildMonadApplicative RebuildDefined in cabal-install-3.18.1.0 · Distribution.Client.RebuildMonadMonadIO RebuildDefined in cabal-install-3.18.1.0 · Distribution.Client.RebuildMonad