Module CPM.PackageCache.Runtime

Contains functions that access and modify the runtime package cache.

Summary of exported operations:

dependencyPaths :: [Package] -> String -> String   
Returns a colon-separated list of the paths to a list of given packages inside a package's runtime package cache.
dependencyPathsSeparate :: [Package] -> String -> [String]   
Returns a list of the paths to a list of given packages inside a package's runtime package cache.
cacheDirectory :: String -> Package -> String   
Returns the directory for a package inside another package's runtime cache.
copyPackages :: Config -> [Package] -> String -> ErrorLoggerIO [Package]   
Copies a set of packages from the local package cache to the runtime package cache and returns the package specifications.
writePackageConfig :: Config -> String -> Package -> String -> ErrorLoggerIO ()   
Writes the package configuration module (if specified) into the the package sources.

Exported operations:

dependencyPaths :: [Package] -> String -> String   

Returns a colon-separated list of the paths to a list of given packages inside a package's runtime package cache.

dependencyPathsSeparate :: [Package] -> String -> [String]   

Returns a list of the paths to a list of given packages inside a package's runtime package cache.

cacheDirectory :: String -> Package -> String   

Returns the directory for a package inside another package's runtime cache.

copyPackages :: Config -> [Package] -> String -> ErrorLoggerIO [Package]   

Copies a set of packages from the local package cache to the runtime package cache and returns the package specifications.

writePackageConfig :: Config -> String -> Package -> String -> ErrorLoggerIO ()   

Writes the package configuration module (if specified) into the the package sources.