C++17 header only alternative to libxdg-basedir library.
Doxygen generated API documentation
peelo::xdg::data_dir() -> optional<filesystem::path>
Directory for user-specific data files.
peelo::xdg::config_dir() -> optional<filesystem::path>
Directory for user-specific configuration files.
peelo::xdg::state_dir() -> optional<filesystem::path>
Directory for user-specific state files.
peelo::xdg::cache_dir() -> optional<filesystem::path>
Directory for user-specific non-essential data files.
peelo::xdg::runtime_dir() -> optional<filesystem::path>
Directory for user-specific non-essential runtime files and other file objects (such as sockets, named pipes, etc).
peelo::xdg::all_data_dirs() -> vector<filesystem::path>
All directories for user-specific data files in users preferred order.
peelo::xdg::all_config_dirs() -> vector<filesystem::path>
All directories for user-specific configuration files in users preferred order.
peelo::xdg::home_dir() -> optional<filesystem::path>
Users home directory.