stacker
Safe HaskellNone
LanguageHaskell2010

StackYaml

Synopsis

Documentation

findStackYamlFiles :: IO [FilePath] Source #

Find all stack*.yaml files in the current directory

parseStackYaml :: FilePath -> IO (Maybe (Text, Bool, (Int, Int))) Source #

Parse a stack.yaml file to extract the snapshot field

applyAction :: Bool -> Action -> IO () Source #

Apply an action to update a stack.yaml file

isStackYaml :: FilePath -> Bool Source #

Check if a filename is a stack*.yaml file

getSymlinkMap :: [FilePath] -> IO (Map FilePath FilePath) Source #

Get a map of symlinks to their targets (only for symlinks pointing to other stack*.yaml files in the list)