Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
649f41bb
Commit
649f41bb
authored
Sep 26, 2016
by
Duncan Coutts
Committed by
GitHub
Sep 26, 2016
Browse files
Merge pull request #3887 from dcoutts/filemonitor-fixes
FileMonitor fix
parents
3b6585ad
2fb4de6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/FileMonitor.hs
View file @
649f41bb
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment