xdgDataHome

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

  1. string xdgDataHome(string subfolder)
    version(XdgPathsDocs)
    @trusted nothrow
    string
    xdgDataHome
    (
    string subfolder = null
    )
  2. string xdgDataHome(string subfolder)

Return Value

Type: string

Path to user-specific data directory or empty string if could not be evaluated. Note: This function does not check if returned path actually exists and appears to be directory. If such directory does not exist, it's recommended to create it using 0700 permissions restricting any access to user data for anyone else.

Meta