Module CPM.PackageCopy

Contains functions that operate on a package copy. And some functions that don't quite fit anywhere else.

Summary of exported operations:

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

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

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

Upgrades all dependencies of a package copy.

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

Upgrades a single dependencies and its transitive dependencies.

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

Installs the dependencies of a package.

linkToLocalCache :: 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 -> Repository -> GlobalCache -> String -> Package -> IO ([LogEntry],Either LogEntry [Package])   

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

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

Resolves the dependencies for a package copy.