GLib.reload_user_special_dirs_cache

function reload_user_special_dirs_cache(): void {
    // Gjs wrapper for g_reload_user_special_dirs_cache()
}
  

Resets the cache used for GLib.get_user_special_dir, so that the latest on-disk version is used. Call this only if you just changed the data on disk yourself.

Due to threadsafety issues this may cause leaking of strings that were previously returned from GLib.get_user_special_dir that can't be freed. We ensure to only leak the data for the directories that actually changed value though.

Since 2.22