Util.getUserRuntimeDir

Returns a directory that is unique to the current user on the local system.

This is determined using the mechanisms described in the XDG Base Directory Specification. This is the directory specified in the XDG_RUNTIME_DIR environment variable. In the case that this variable is not set, we return the value of g_get_user_cache_dir(), after verifying that it exists.

struct Util
static
string
getUserRuntimeDir
()

Return Value

Type: string

a string owned by GLib that must not be modified or freed.

Meta

Since

2.28