Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Functions related to Stack's unpack
command.
Synopsis
- unpackCmd :: ([String], Maybe Text) -> RIO Runner ()
- unpackPackages :: forall env. (HasPantryConfig env, HasProcessContext env, HasTerm env) => Maybe RawSnapshot -> Path Abs Dir -> [String] -> RIO env ()
Documentation
:: ([String], Maybe Text) | A pair of a list of names or identifiers and an optional destination path. |
-> RIO Runner () |
Function underlying the stack unpack
command. Unpack packages to the
filesystem.
:: forall env. (HasPantryConfig env, HasProcessContext env, HasTerm env) | |
=> Maybe RawSnapshot | When looking up by name, take from this build plan. |
-> Path Abs Dir | Destination. |
-> [String] | Names or identifiers. |
-> RIO env () |
Intended to work for the command line command.