![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <filesystem>#include <vector>Go to the source code of this file.
Functions | |
| std::filesystem::path | nix::unix::xdg::getCacheHome () |
| std::filesystem::path | nix::unix::xdg::getConfigHome () |
| std::vector< std::filesystem::path > | nix::unix::xdg::getConfigDirs () |
| std::filesystem::path | nix::unix::xdg::getDataHome () |
| std::filesystem::path | nix::unix::xdg::getStateHome () |
| std::filesystem::path nix::unix::xdg::getCacheHome | ( | ) |
Get the XDG Base Directory for cache files. Returns $XDG_CACHE_HOME or ~/.cache
| std::vector< std::filesystem::path > nix::unix::xdg::getConfigDirs | ( | ) |
Get the XDG Base Directory list for configuration files. Returns parsed $XDG_CONFIG_DIRS or /etc/xdg as a vector
| std::filesystem::path nix::unix::xdg::getConfigHome | ( | ) |
Get the XDG Base Directory for configuration files. Returns $XDG_CONFIG_HOME or ~/.config
| std::filesystem::path nix::unix::xdg::getDataHome | ( | ) |
Get the XDG Base Directory for data files. Returns $XDG_DATA_HOME or ~/.local/share
| std::filesystem::path nix::unix::xdg::getStateHome | ( | ) |
Get the XDG Base Directory for state files. Returns $XDG_STATE_HOME or ~/.local/state