ae.sys.paths

OS-specific paths.

getConfigDir - roaming, for configuration getDataDir - roaming, for user data getCacheDir - local

Members

Aliases

getCacheDir
alias getCacheDir = getLocalAppProfile
Undocumented in source.
getCacheDir
alias getCacheDir = _getXdgAppDir!_xdgCache
Undocumented in source.
getConfigDir
alias getConfigDir = getRoamingAppProfile
Undocumented in source.
getConfigDir
alias getConfigDir = _getXdgAppDir!_xdgConfig
Undocumented in source.
getConfigDirs
alias getConfigDirs = _bindArgs!(_getAppDir, CSIDL_LOCAL_APPDATA)
Undocumented in source.
getConfigDirs
alias getConfigDirs = _getXdgAppDirs!_xdgConfig
Undocumented in source.
getDataDir
alias getDataDir = getRoamingAppProfile
Undocumented in source.
getDataDir
alias getDataDir = _getXdgAppDir!_xdgData
Undocumented in source.
getDataDirs
alias getDataDirs = _bindArgs!(_getAppDir, CSIDL_LOCAL_APPDATA)
Undocumented in source.
getDataDirs
alias getDataDirs = _getXdgAppDirs!_xdgData
Undocumented in source.
getLocalAppProfile
alias getLocalAppProfile = _bindArgs!(_getAppDir, CSIDL_LOCAL_APPDATA)
Undocumented in source.
getRoamingAppProfile
alias getRoamingAppProfile = _bindArgs!(_getAppDir, CSIDL_APPDATA)
Undocumented in source.

Functions

_getAppDir
string _getAppDir(int csidl, string appName)
Undocumented in source. Be warned that the author may not have intended to support it.
_getAppDirs
string[] _getAppDirs(int csidl, string appName)
Undocumented in source. Be warned that the author may not have intended to support it.
_getXdgAppDir
string _getXdgAppDir(string appName)
Undocumented in source. Be warned that the author may not have intended to support it.
_getXdgAppDirs
string[] _getXdgAppDirs(string appName)
Undocumented in source. Be warned that the author may not have intended to support it.
getExecutableName
string getExecutableName()

Get the base name of the current executable.

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

Templates

_bindArgs
template _bindArgs(alias fun, CTArgs...)
Undocumented in source.

Variables

_xdgCache
XdgDir _xdgCache;
Undocumented in source.
_xdgConfig
XdgDir _xdgConfig;
Undocumented in source.
_xdgData
XdgDir _xdgData;
Undocumented in source.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.