definition:
|
getAllPackageVersions :: Config -> String -> Bool -> ErrorLogger [Package]
getAllPackageVersions cfg pkgname pre = do
repo <- getRepoPackagesWithName cfg pkgname
return (findAllVersions repo pkgname pre)
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Retrieves all versions of a package with a given name from the repository.
---
--- @param cfg - the current CPM configuration
--- @param pkgname - the package name to be retrieved
--- @param pre - should pre-release versions be included?
|
failfree:
|
<FAILING>
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,_,_) |-> _}
|
name:
|
getAllPackageVersions
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
CPM.Config.Config -> String -> Prelude.Bool
-> CPM.ErrorLogger.ErrorLogger [CPM.Package.Package]
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|