The OpenD Programming Language

xdgConfigDirs

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

version(D_Ddoc)
@trusted nothrow
string[]
xdgConfigDirs
(
string subfolder = null
)

Parameters

subfolder string

Subfolder which is appended to every path if not null.

Return Value

Type: string[]

Config directories, without user's one and with no duplicates. Note: This function does not check if paths actually exist and appear to be directories.

See Also

Meta