Commit 649f41bb authored by Duncan Coutts's avatar Duncan Coutts Committed by GitHub
Browse files

Merge pull request #3887 from dcoutts/filemonitor-fixes

FileMonitor fix
parents 3b6585ad 2fb4de6c
......@@ -201,6 +201,11 @@ monitorFileHashedSearchPath notFoundAtPaths foundAtPath =
data MonitorStateFileSet
= MonitorStateFileSet ![MonitorStateFile]
![MonitorStateGlob]
-- Morally this is not actually a set but a bag (represented by lists).
-- There is no principled reason to use a bag here rather than a set, but
-- there is also no particular gain either. That said, we do preserve the
-- order of the lists just to reduce confusion (and have predictable I/O
-- patterns).
deriving Show
type Hash = Int
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment