@Nullable
  public static File getWorkingCopyRoot(@NotNull File file) {
    File current = getParentWithDb(file);
    if (current == null) return null;

    WorkingCopyFormat format = getFormat(current);

    return format.isOrGreater(WorkingCopyFormat.ONE_DOT_SEVEN) ? current : null;
  }
@Nullable
  public static File getWorkingCopyRoot(@NotNull File file)