Skip to main content

Module paths

Module paths 

Source
Expand description

Per-OS application directories, following the XDG Base Directory spec on every platform — including macOS, so configuration lives at the familiar ~/.config/openlogi/ rather than macOS’s ~/Library/Application Support/.

kindenv overridedefault
config$XDG_CONFIG_HOME~/.config/openlogi
data$XDG_DATA_HOME~/.local/share/openlogi

On Windows $HOME falls back to %USERPROFILE%, so paths resolve to %USERPROFILE%\.config\openlogi etc. — best-effort until a real Windows port lands.

Enums§

PathsError

Functions§

config_dir
Directory holding the user’s config.toml.
config_path
Full path to the user config file.
data_dir
Directory for downloaded application data; the device-render asset cache lives under data_dir()/assets.