Skip to content

Commit d760fb2

Browse files
committed
Merge branch 'stable'
2 parents bc7d9f0 + aa3bb0d commit d760fb2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

doc/topics/stack_work.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ directory, is the one reported by
6464

6565
## Project Stack work directory
6666

67+
The Stack work directory for a project will contain:
68+
69+
* a `stack.sqlite3` file (being a SQLite v3 database); and
70+
* a `stack.sqlite3.pantry-write-lock` file (used to ensure that only one
71+
process is trying to write to the database at any time).
72+
6773
The Stack work directory for a project will contain a `install` directory.
6874
This directory will contain a path to a directory containing:
6975

@@ -75,11 +81,9 @@ This directory will contain a path to a directory containing:
7581
directory. This is the directory reported by
7682
[`stack path --local-hpc-root`](../commands/path_command.md);
7783
* a `lib` directory, containing a directory named after the platform and the
78-
GHC version and, within that, a directory for each project package;
84+
GHC version and, within that, a directory for each project package; and
7985
* a `pkgdb` directory. This is the directory reported by
80-
[`stack path --local-pkg-db`](../commands/path_command.md);
81-
* a `stack.sqlite3` file; and
82-
* a `stack.sqlite3.pantry-write-lock` file.
86+
[`stack path --local-pkg-db`](../commands/path_command.md).
8387

8488
The directory is the one reported by
8589
[`stack path --local-install-root`](../commands/path_command.md).

0 commit comments

Comments
 (0)