Gimp.ModuleDB.prototype.refresh
function refresh(module_path: String): void {
// Gjs wrapper for gimp_module_db_refresh()
}
Does the same as Gimp.ModuleDB.prototype.load, plus removes all Gimp.Module instances whose modules have been deleted from disk.
Note that the Gimp.Module's will just be removed from the internal list and not freed as this is not possible with GObject.TypeModule instances which actually implement types.
- module_path
A #G_SEARCHPATH_SEPARATOR delimited list of directories to load modules from.