Hassan Al-Awwadi pushed to branch wip/haanss/depdir at Glasgow Haskell Compiler / GHC
Commits:
-
afe46598
by Hassan Al-Awwadi at 2025-07-11T19:13:54+02:00
1 changed file:
Changes:
| ... | ... | @@ -836,11 +836,11 @@ getPackageRoot = Q qGetPackageRoot |
| 836 | 836 | --
|
| 837 | 837 | -- * ghc -M does not know about these dependencies - it does not execute TH.
|
| 838 | 838 | --
|
| 839 | --- * The dependency is shallow, just a hash of its direct contents.
|
|
| 840 | --- Basically, it only sees a list of names, and hashes those names.
|
|
| 841 | --- It does not look at directory metadata, recurse into subdirectories
|
|
| 842 | --- or look at file contents. As long as the list of names remains the same,
|
|
| 843 | --- the directory is considered unchanged.
|
|
| 839 | +-- * The dependency is shallow, based only on the direct content.
|
|
| 840 | +-- Basically, it only sees a list of names. It does not look at directory
|
|
| 841 | +-- metadata, recurse into subdirectories, or look at file contents. As
|
|
| 842 | +-- long as the list of names remains the same, the directory is considered
|
|
| 843 | +-- unchanged.
|
|
| 844 | 844 | --
|
| 845 | 845 | -- * The state of the directory is read at the interface generation time,
|
| 846 | 846 | -- not at the time of the function call.
|