anchor.diff:  ﻿namespace Paket
   
  +open Paket.Domain
  +open Paket.Logging
  +open Paket.PackageSources
  +
  +open System
   open System.IO
  -open Paket.Logging
  -open System
  -open Paket.Domain
   open Chessie.ErrorHandling
  -open PackageSources
   
   /// Paket API which is optimized for F# Interactive use.
   type Dependencies(dependenciesFileName: string) =
  
positive.code:     member this.GetInstalledPackages(referencesFile:ReferencesFile): (string * string) list =
          let lockFile = getLockFile()
          let resolved = lockFile.ResolvedPackages
          referencesFile    
          |> lockFile.GetPackageHull
          |> Seq.map (fun kv -> 
                          let name = kv.Key
                          name.ToString(),resolved.[NormalizedPackageName name].Version.ToString())
          |> Seq.toList
  
      /// Returns an InstallModel for the given package.
      member this.GetInstalledPackageModel(packageName) =        
          match this.GetInstalledVersion(packageName) with
          | None -> failwithf "Package %s is not installed" packageName
          | Some version ->
  
negative.code:             fun () -> UpdateProcess.SmartInstall(dependenciesFileName, None, options))
  
      /// Creates a paket.dependencies file with the given text in the current directory and installs it.
      static member Install(dependencies, ?path: string, ?force, ?hard, ?withBindingRedirects) =
          let path = defaultArg path Environment.CurrentDirectory
          let fileName = Path.Combine(path, Constants.DependenciesFileName)
          File.WriteAllText(fileName, dependencies)
  