Operations to initialize and manipulate the repository cache database.
Author: Michael Hanus
Version: March 2018
repositoryCacheDB
:: Config -> String
The database containing the repository cache. |
tryWriteRepositoryDB
:: Config -> IO ([LogEntry],Either LogEntry ())
Writes the repository database with the current repository index if the command sqlite3
is in the path.
|
addPackagesToRepositoryDB
:: Config -> Bool -> [Package] -> IO ([LogEntry],Either LogEntry ())
|
The database containing the repository cache. |
Writes the repository database with the current repository index
if the command |
|