public static @NotNull ThreeState isAncestorThreeState(@NotNull String ancestor, @NotNull String file, boolean strict) {
    String ancestorPath = toCanonicalPath(ancestor);
    String filePath = toCanonicalPath(file);
    return startsWith(filePath, ancestorPath, strict, SystemInfoRt.isFileSystemCaseSensitive, true);
  }
public static @NotNull ThreeState isAncestorThreeState(@NotNull String ancestor, @NotNull String file, boolean strict)