definition:
|
preparePackageAndDir :: Config
-> Repository
-> GC.GlobalCache
-> String
-> String
-> Version
-> ErrorLogger ComparisonInfo
preparePackageAndDir cfg repo gc dirA nameB verB =
GC.tryFindPackage gc nameB verB >>= \pkgB ->
findPackageDir cfg pkgB >>= \dirB ->
preparePackageDirs cfg repo gc dirA dirB
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Prepares two package, one from a directory and one from the global package
--- cache. Copies them to a temporary directory and builds renamed versions of
--- the packages and all dependencies.
---
--- @param cfg the CPM configuration
--- @param repo the package repository
--- @param gc the global package cache
--- @param dirA the directory for the first package
--- @param nameB the name of the second package
--- @param verB the version of the second package
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,_,_,_,_,_) |-> _}
|
name:
|
preparePackageAndDir
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
CPM.Config.Config -> CPM.Repository.Repository
-> CPM.PackageCache.Global.GlobalCache -> String -> String
-> (Prelude.Int, Prelude.Int, Prelude.Int, Prelude.Maybe String)
-> CPM.ErrorLogger.ErrorLogger ComparisonInfo
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|