Expand description
Runtime resolution of the user-data directory for yui.
Lookup order:
$YUI_DATA_DIRif set.- Platform user-data dir via the
directoriescrate (e.g.~/Library/Application Support/yui/on macOS).
Subdirectories under the data dir partition the data by kind, e.g.
<data_dir>/links/3_1.json, <data_dir>/braid/3_1.json. The set of
kinds is open — callers pass the subdirectory name they want.