Module CPM.PackageCopy

This module contains operations that operate on a package copy.

Summary of exported operations:

resolveDependenciesForPackageCopy :: Config -> Package -> Repository -> GlobalCache -> String -> IO ([LogEntry],Either LogEntry ResolutionResult)   
Resolves dependencies for a package copy.
acquireAndInstallPackageWithDependencies :: Config -> Repository -> Package -> IO ([LogEntry],Either LogEntry ())   
Acquires a package and its dependencies and installs them to the global package cache.
upgradeAllPackages :: Config -> String -> IO ([LogEntry],Either LogEntry ())   
Upgrades all dependencies of a package copy.
upgradeSinglePackage :: Config -> String -> String -> IO ([LogEntry],Either LogEntry ())   
Upgrades a single package and its transitive dependencies.
installLocalDependencies :: Config -> String -> IO ([LogEntry],Either LogEntry (Package,[Package]))   
Installs the dependencies of a package.
linkToLocalCache :: Config -> String -> String -> IO ([LogEntry],Either LogEntry ())   
Links a directory into the local package cache.
resolveAndCopyDependencies :: Config -> Repository -> GlobalCache -> String -> IO ([LogEntry],Either LogEntry [Package])   
Resolves the dependencies for a package copy and fills the package caches.
resolveAndCopyDependenciesForPackage :: Config -> String -> Package -> IO ([LogEntry],Either LogEntry [Package])   
Resolves the dependencies for a package copy and fills the package caches.
resolveDependencies :: Config -> String -> IO ([LogEntry],Either LogEntry ResolutionResult)   
Resolves the dependencies for a package copy.

Exported operations:

resolveDependenciesForPackageCopy :: Config -> Package -> Repository -> GlobalCache -> String -> IO ([LogEntry],Either LogEntry ResolutionResult)   

Resolves dependencies for a package copy.

acquireAndInstallPackageWithDependencies :: Config -> Repository -> Package -> IO ([LogEntry],Either LogEntry ())   

Acquires a package and its dependencies and installs them to the global package cache.

upgradeAllPackages :: Config -> String -> IO ([LogEntry],Either LogEntry ())   

Upgrades all dependencies of a package copy.

upgradeSinglePackage :: Config -> String -> String -> IO ([LogEntry],Either LogEntry ())   

Upgrades a single package and its transitive dependencies.

installLocalDependencies :: Config -> String -> IO ([LogEntry],Either LogEntry (Package,[Package]))   

Installs the dependencies of a package.

linkToLocalCache :: Config -> String -> String -> IO ([LogEntry],Either LogEntry ())   

Links a directory into the local package cache. Used for cypm link.

resolveAndCopyDependencies :: Config -> Repository -> GlobalCache -> String -> IO ([LogEntry],Either LogEntry [Package])   

Resolves the dependencies for a package copy and fills the package caches.

resolveAndCopyDependenciesForPackage :: Config -> String -> Package -> IO ([LogEntry],Either LogEntry [Package])   

Resolves the dependencies for a package copy and fills the package caches.

resolveDependencies :: Config -> String -> IO ([LogEntry],Either LogEntry ResolutionResult)   

Resolves the dependencies for a package copy.