| Copyright | (c) Colin Woodbury 2012 - 2019 |
|---|---|
| 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.
Documentation
saveState :: Settings -> IO () Source #
Save a package state.
In writing the first state file, the states directory is created automatically.
restoreState :: (Carrier sig m, Member (Reader Env) sig, Member (Error Failure) sig, Member (Lift IO) sig) => m () 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.