standardpaths

Functions for retrieving standard paths in cross-platform manner.

Members

Enums

StandardPath
enum StandardPath

Locations that can be passed to writablePath and standardPaths functions.

Functions

binPaths
auto binPaths()

System paths where executable files can be found.

findExecutable
string findExecutable(string fileName, Range paths)

Finds executable by fileName in the paths specified by paths.

findExecutable
string findExecutable(string fileName)

ditto, but searches in system paths, determined by PATH environment variable.

fsPath
string fsPath(short domain, OSType type)
Undocumented in source. Be warned that the author may not have intended to support it.
homeDir
string homeDir()

Current user home directory.

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

Path to Roaming data directory.

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

Path to runtime user directory.

runtimeDir
string runtimeDir()
Undocumented in source. Be warned that the author may not have intended to support it.
standardPaths
string[] standardPaths(StandardPath type)

Getting paths for various locations.

standardPaths
string[] standardPaths(StandardPath type)
Undocumented in source. Be warned that the author may not have intended to support it.
standardPaths
string[] standardPaths(StandardPath type)
Undocumented in source. Be warned that the author may not have intended to support it.
standardPaths
string[] standardPaths(StandardPath type)
Undocumented in source. Be warned that the author may not have intended to support it.
writablePath
string writablePath(StandardPath type)

Getting writable paths for various locations.

writablePath
string writablePath(StandardPath type)
Undocumented in source. Be warned that the author may not have intended to support it.
writablePath
string writablePath(StandardPath type)
Undocumented in source. Be warned that the author may not have intended to support it.
writablePath
string writablePath(StandardPath type)
Undocumented in source. Be warned that the author may not have intended to support it.
xdgCacheHome
string xdgCacheHome()

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

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

The preference-ordered set of base directories to search for configuration files.

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

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

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

The preference-ordered set of base directories to search for data files.

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

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

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

Manifest constants

noErr
enum noErr;
Undocumented in source.

Meta