boolean (@NotNull ContentRootData data, @NotNull File ideaOutDir) { var canonicalIdeOutPath = toCanonicalPath(ideaOutDir.getPath()); var canonicalRootPath = data.getRootPath(); return isAncestor(canonicalRootPath, canonicalIdeOutPath, false); }