@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    FilePathImpl path = (FilePathImpl)o;

    if (myIsDirectory != path.myIsDirectory) return false;
    if (!(SystemInfoRt.isFileSystemCaseSensitive ? myPath.equals(path.myPath) : myPath.equalsIgnoreCase(path.myPath))) {
      return false;
    }

    return true;
  }
@Override
  public boolean equals(Object o)