Expand description
Where an application keeps its data.
Computed here rather than taken from the desktop host, so that a GUI run and a headless run of the same product agree by construction. Two code paths deriving the same directory independently is how a headless mode ends up looking at an empty database.
Constants§
- DATA_
DIR_ ENV - Overrides the location entirely. Used by tests, and by anyone running a portable installation.
Functions§
- data_
dir - The directory for
app_id, created if it does not exist.