The OpenD Programming Language

xdgDataDirs

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

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

Parameters

subfolder string

Subfolder which is appended to every path if not null.

Return Value

Type: string[]

Data 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