internal static void OnPostprocessAllAssets(string[] imported, string[] deleted, string[] movedTo, string[] movedFrom) { if (!Utils.IsMainProcess()) { return; } SearchMonitor.RaiseContentRefreshed(imported, deleted.Concat(movedFrom).Distinct().ToArray(), movedTo); }
public SearchDatabase Reload(string settingsPath) { m_IndexSettingsPath = settingsPath; SearchMonitor.RaiseContentRefreshed(new[] { settingsPath }, new string[0], new string[0]); return(Reload(LoadSettings(settingsPath))); }