File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -166,9 +166,18 @@ it, Stack will recreate the contents of the directory.
166
166
167
167
### ` pantry\hackage ` directory
168
168
169
- This contains the package index. If the contents of the directory are deleted,
170
- and Stack needs to consult the package index, Stack will seek to download the
171
- latest package index.
169
+ This contains a local cache of the package index. If the contents of the
170
+ directory are deleted, and Stack needs to consult the package index, Stack will
171
+ seek to download the latest package index.
172
+
173
+ !!! info
174
+
175
+ Stack depends on package `pantry` which, in turn, depends on package
176
+ `hackage-security`. The latter handles the local cache of the package index.
177
+ The type `CacheLayout` represents the location of the files that are cached.
178
+ `pantry` uses `cabalCacheLayout :: CacheLayout`, the layout that Cabal (the
179
+ tool) uses. That is what specifies the names of the files used to cache the
180
+ package index, including `00-index.tar` and `00-index.tar.gz`.
172
181
173
182
### ` pantry ` directory
174
183
You can’t perform that action at this time.
0 commit comments