An implementation of XDG Base Directory Specification
XDGBDS defines four categories of dotfiles and the corresponding directories in user's home directory that should be used for those. The categories are cache, configuration, data, state and runtime files.
All those locations have corresponding XDG_*
environment variables.
All paths set in them must be absolute.
If a relative path is encountered, the path is considered invalid and NULL
is assigned.
Download the latest version from release page or clone Git repository for latest:
git clone https://github.com/Jorenar/libXDGdirs.git
cd libXDGdirs
cmake -B build/ -DCMAKE_BUILD_TYPE=Release
cmake --build build/ --config=Release
cmake --install build/
Documentation generated from latest commit using Doxygen
Refer to topics and examples in documentation