mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] FS probe path compensated for unreliable storage (IDEA-148827)
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.intellij.ide.startup.impl;
|
||||
|
||||
import com.intellij.ide.impl.ProjectUtil;
|
||||
import com.intellij.ide.startup.StartupManagerEx;
|
||||
import com.intellij.notification.Notification;
|
||||
import com.intellij.notification.NotificationListener;
|
||||
@@ -43,6 +44,7 @@ import com.intellij.openapi.vfs.impl.local.FileWatcher;
|
||||
import com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl;
|
||||
import com.intellij.openapi.vfs.newvfs.NewVirtualFile;
|
||||
import com.intellij.openapi.vfs.newvfs.RefreshQueue;
|
||||
import com.intellij.util.PathUtil;
|
||||
import com.intellij.util.SmartList;
|
||||
import com.intellij.util.io.storage.HeavyProcessLatch;
|
||||
import com.intellij.util.messages.MessageBusConnection;
|
||||
@@ -256,6 +258,9 @@ public class StartupManagerImpl extends StartupManagerEx {
|
||||
if (path == null || FileUtil.isAncestor(PathManager.getConfigPath(), path, true)) {
|
||||
return;
|
||||
}
|
||||
if (ProjectUtil.isDirectoryBased(myProject)) {
|
||||
path = PathUtil.getParentPath(path);
|
||||
}
|
||||
|
||||
boolean actual = FileUtil.isFileSystemCaseSensitive(path);
|
||||
LOG.info(path + " case-sensitivity: " + actual);
|
||||
|
||||
Reference in New Issue
Block a user