flpq_data.dataset.cache_root#
- cache_root() Path[source]#
Return the effective cache root.
The
FLPQ_DATA_CACHEenvironment variable wins when set to a non-empty value; otherwise the OS default fromplatformdirs.user_cache_dir("flpq-data")(~/.cache/flpq-dataon Linux,~/Library/Caches/flpq-dataon macOS,%LOCALAPPDATA%\flpq-data\Cacheon Windows).- Returns:
- rootpathlib.Path
The cache root directory (not necessarily existing yet).