@Override
  public @Nullable @NlsSafe String getWslPath(@NotNull Path windowsPath) {
    WslPath wslPath = WslPath.parseWindowsUncPath(windowsPath.toString());
    if (wslPath != null) {
      if (wslPath.getDistributionId().equalsIgnoreCase(myDescriptor.getMsId())) {
        return wslPath.getLinuxPath();
      }
      throw new IllegalArgumentException("Trying to get WSL path from a different WSL distribution. Requested path (" + windowsPath + ")" +
                                         " belongs to " + wslPath.getDistributionId() + " distribution" +
                                         ", but context distribution is " + myDescriptor.getMsId());
    }

    if (OSAgnosticPathUtil.isAbsoluteDosPath(windowsPath.toString())) { // absolute windows path => /mnt/disk_letter/path
      return getMntRoot() + convertWindowsPath(windowsPath.toString());
    }
    return null;
  }
@Override
  public @Nullable @NlsSafe String getWslPath(@NotNull Path windowsPath)