Contains functions that operate on a package copy. And some functions that don't quite fit anywhere else.
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
:: String -> String -> IO ([LogEntry],Either LogEntry ())
Links a directory into the local package cache. |
getLocalPackageSpec
:: Config -> String -> IO ([LogEntry],Either LogEntry String)
Tries to find a package specification in the given directory or one of its ancestors. |
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. |
renderPackageInfo
:: Bool -> Bool -> Bool -> Package -> String
Renders information on a package. |
|
Resolves dependencies for a package copy. |
|
Acquires a package and its dependencies and installs them to the global package cache. |
|
Upgrades all dependencies of a package copy. |
|
Upgrades a single package and its transitive dependencies. |
|
Installs the dependencies of a package. |
|
Links a directory into the local package cache. Used for |
|
Tries to find a package specification in the given directory or one of its
ancestors. If there is no package specifiction in these directories,
the home package specification (i.e., |
|
Resolves the dependencies for a package copy and fills the package caches. |
|
Resolves the dependencies for a package copy and fills the package caches. |
|
Resolves the dependencies for a package copy. |
|
Renders information on a package. |