Copyright | (c) Colin Woodbury 2012 - 2020 |
---|---|
License | GPL3 |
Maintainer | Colin Woodbury <colin@fosskers.ca> |
Safe Haskell | None |
Language | Haskell2010 |
Handle all -C
flags - those which involve the package cache.
Synopsis
- downgradePackages :: NESet PkgName -> RIO Env ()
- searchCache :: Text -> RIO Env ()
- backupCache :: Path Absolute -> RIO Env ()
- cleanCache :: Word -> RIO Env ()
- cleanNotSaved :: RIO Env ()
Documentation
downgradePackages :: NESet PkgName -> RIO Env () Source #
Interactive. Gives the user a choice as to exactly what versions they want to downgrade to.
backupCache :: Path Absolute -> RIO Env () Source #
The destination folder must already exist for the back-up to begin.
cleanCache :: Word -> RIO Env () Source #
Keeps a certain number of package files in the cache according to a number provided by the user. The rest are deleted.
cleanNotSaved :: RIO Env () Source #
Only package files with a version not in any PkgState will be removed.