niv-0.2.22: Easy dependency management for Nix projects
Safe HaskellSafe-Inferred
LanguageHaskell2010

Niv.Git.Cmd

Synopsis

Documentation

gitUpdate Source #

Arguments

:: (Text -> Text -> IO Text)

latest rev

-> (Text -> IO (Text, Text))

latest rev and default ref

-> Update () () 

gitUpdate' :: Update () () Source #

The "real" (IO) update

latestRev Source #

Arguments

:: Text

the repository

-> Text

the branch

-> IO Text 

defaultBranchAndRev Source #

Arguments

:: Text

the repository

-> IO (Text, Text) 

abortNoRev :: [Text] -> Text -> IO a Source #

abortNoRef :: [Text] -> Text -> IO a Source #

runGit :: [Text] -> IO [Text] Source #

Run the "git" executable