xdgDataDirs - multiple declarations

Function xdgDataDirs

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

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

Parameters

NameDescription
subfolder Subfolder which is appended to every path if not null.

Returns

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

xdgAllDataDirs, xdgDataHome

Function xdgDataDirs

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

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

Parameters

NameDescription
subfolder Subfolder which is appended to every path if not null.

Returns

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

xdgAllDataDirs, xdgDataHome