Function glib::reload_user_special_dirs_cache
source · pub fn reload_user_special_dirs_cache()
Expand description
Resets the cache used for 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 thread safety issues this may cause leaking of strings
that were previously returned from user_special_dir()
that can’t be freed. We ensure to only leak the data for
the directories that actually changed value though.