anchor.diff:      | _ -> None
   
   /// Calculates the NuGet v3 URL from a NuGet v2 URL.
  -let calculateNuGet2Path(nugetUrl:string) = 
  +let calculateNuGet2Path(nugetUrl:string) =
       match nugetUrl.TrimEnd([|'/'|]) with
       | "http://api.nuget.org/v3/index.json" -> Some "http://nuget.org/api/v2"
       | "https://api.nuget.org/v3/index.json" -> Some "https://nuget.org/api/v2"
  
positive.code: let private getPackages(auth, nugetURL, packageNamePrefix, maxResults) = async {
      let! apiRes = getSearchAPI(auth,nugetURL) |> Async.AwaitTask
      match apiRes with
      | Some url -> 
          let query = sprintf "%s?q=%s&take=%d" url packageNamePrefix maxResults
          let! response = safeGetFromUrl(auth |> Option.map toCredentials,query,acceptJson)
          match SafeWebResult.asResult response with
          | Result.Ok text -> return  Result.Ok (extractPackages text)
          | Result.Error err -> return Result.Error err
      | None -> 
          if verbose then tracefn "Could not calculate search api from %s" nugetURL
          return Result.Ok [||]
  }
  
negative.code:       [<JsonProperty("packageContent")>]
        DownloadLink: string
        [<JsonProperty("catalogEntry")>]
        PackageDetails: Catalog }
  
  type PackageIndexPage =
      { [<JsonProperty("@id")>]
  