HORIZON HASKELLDocsmaster5ff592b2026-10-19Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · master · 5ff592b · 2026-10-19

Modulecabal-install-3.18.1.0

Distribution.Client.FileMonitor

  • 13 types
  • 16 values

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.

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.

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.

datadata FilePathRoot
#

Constructors

Instances8Eq, Show, Generic, Binary, Parsec, Pretty, …
datadata MonitorFilePath
#

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
datadata MonitorKindDir
#
Instances6Eq, Show, Generic, Binary, Structured, Rep
datadata MonitorKindFile
#
Instances6Eq, Show, Generic, Binary, Structured, Rep
datadata RootedGlob
#

A file path specified by globbing, relative to some root directory.

Instances8Eq, Show, Generic, Binary, Parsec, Pretty, …
datadata Glob
#

A filepath specified by globbing.

Instances8Eq, Show, Generic, Binary, Parsec, Pretty, …
datadata MonitorStateFile
#
Instances5Show, Generic, Binary, Structured, Rep
datadata MonitorStateFileSet
#
Instances5Show, Generic, Binary, Structured, Rep
datadata MonitorStateGlob
#
Instances5Show, Generic, Binary, Structured, Rep