VirtualFile (@Nullable FilePath rootPath) { if (rootPath == null) return null; REPO_LOCK.readLock().lock(); try { return myPathToRootMap.get(rootPath.getPath()); } finally { REPO_LOCK.readLock().unlock(); } }