boolean (@NotNull String path) { Logger.getInstance(VcsRootChecker.class).warn("Deprecated API used in " + this, new Throwable()); VirtualFile file = LocalFileSystem.getInstance().findFileByIoFile(new File(path)); return file != null && isRoot(file); }