xdgpaths

Getting XDG base directories. Note: These functions are defined only on freedesktop systems.

Members

Functions

testXdgBaseDir
void testXdgBaseDir(string envVar, string fallback)
Undocumented in source. Be warned that the author may not have intended to support it.
xdgAllConfigDirs
string[] xdgAllConfigDirs(string subfolder)

The ordered set of non-empty base paths to search for configuration files, in descending order of preference.

xdgAllConfigDirs
string[] xdgAllConfigDirs(string subfolder)
Undocumented in source. Be warned that the author may not have intended to support it.
xdgAllDataDirs
string[] xdgAllDataDirs(string subfolder)

The ordered set of non-empty base paths to search for data files, in descending order of preference.

xdgAllDataDirs
string[] xdgAllDataDirs(string subfolder)
Undocumented in source. Be warned that the author may not have intended to support it.
xdgCacheHome
string xdgCacheHome(string subfolder, bool shouldCreate)

The base directory relative to which user-specific non-essential files should be stored.

xdgCacheHome
string xdgCacheHome(string subfolder, bool shouldCreate)
Undocumented in source. Be warned that the author may not have intended to support it.
xdgConfigDirs
string[] xdgConfigDirs(string subfolder)

The ordered set of non-empty base paths to search for configuration files, in descending order of preference.

xdgConfigDirs
string[] xdgConfigDirs(string subfolder)
Undocumented in source. Be warned that the author may not have intended to support it.
xdgConfigHome
string xdgConfigHome(string subfolder, bool shouldCreate)

The base directory relative to which user-specific configuration files should be stored.

xdgConfigHome
string xdgConfigHome(string subfolder, bool shouldCreate)
Undocumented in source. Be warned that the author may not have intended to support it.
xdgDataDirs
string[] xdgDataDirs(string subfolder)

The ordered set of non-empty base paths to search for data files, in descending order of preference.

xdgDataDirs
string[] xdgDataDirs(string subfolder)
Undocumented in source. Be warned that the author may not have intended to support it.
xdgDataHome
string xdgDataHome(string subfolder, bool shouldCreate)

The base directory relative to which user-specific data files should be stored.

xdgDataHome
string xdgDataHome(string subfolder, bool shouldCreate)
Undocumented in source. Be warned that the author may not have intended to support it.
xdgRuntimeDir
string xdgRuntimeDir()

Path to runtime user directory.

xdgRuntimeDir
string xdgRuntimeDir()
Undocumented in source. Be warned that the author may not have intended to support it.

See Also

Meta