lair.config#

Where lair finds data and keeps its cache.

lair has no built-in data paths. A reader takes its folder as an argument and otherwise reads a LAIR_* environment variable through get_data_dir(); get_cache_dir() gives the cache folder. Both read the environment when called, not at import. Data locations lists the variables.

Functions

get_cache_dir

Resolve the cache directory.

get_data_dir

Resolve a data directory.