Example #1
0
 private void DeleteIndex()
 {
     DeleteFiles(MyPalStorage.DBPath, "*.blob");
     DeleteFiles(MyPalStorage.DBPath, "*.dbUtil");
     DeleteFiles(OMEnv.WorkDir, "_*");
     DeleteFiles(OMEnv.WorkDir, "liveforms.dat");
     if (Directory.Exists(MyPalStorage.DBPath) && Directory.GetFiles(MyPalStorage.DBPath).Length == 0)
     {
         Directory.Delete(MyPalStorage.DBPath);
     }
     RegUtil.DeleteValue(Registry.CurrentUser, @"Software\JetBrains\Omea", "DbPath");
 }