| Copyright | (c) Colin Woodbury 2012 - 2020 |
|---|---|
| License | GPL3 |
| Maintainer | Colin Woodbury <colin@fosskers.ca> |
| Safe Haskell | None |
| Language | Haskell2010 |
Aura.Commands.B
Description
Handle all -B flags - those which involve saved package states.
Synopsis
- saveState :: Settings -> IO ()
- restoreState :: RIO Env ()
- cleanStates :: Settings -> Word -> IO ()
- listStates :: IO ()
Documentation
saveState :: Settings -> IO () Source #
Save a package state.
In writing the first state file, the states directory is created automatically.
restoreState :: RIO Env () Source #
Does its best to restore a state chosen by the user.
cleanStates :: Settings -> Word -> IO () Source #
Remove all but the newest n package states. Any "pinned" states will also remain.
listStates :: IO () Source #
The result of -Bl.