Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
ProjectForge.Get.Git
Description
Functions needed for getting templates from remote git repositories
Synopsis
- data GitCloneArgs = MkGitCloneArgs {}
- type GitURL = String
- type Branch = String
- gitClone :: GitCloneArgs -> ProcessConfig () () ()
Documentation
data GitCloneArgs Source #
A limited set of arguments for git clone
that correspond
to the following command:
git clone --branch OptionalBranch --depth OptionalDepth repository directory
Constructors
MkGitCloneArgs | |
Instances
Show GitCloneArgs Source # | |
Defined in ProjectForge.Get.Git Methods showsPrec :: Int -> GitCloneArgs -> ShowS # show :: GitCloneArgs -> String # showList :: [GitCloneArgs] -> ShowS # | |
Eq GitCloneArgs Source # | |
Defined in ProjectForge.Get.Git |
gitClone :: GitCloneArgs -> ProcessConfig () () () Source #
A
for:ProcessConfig
git clone![]()
NOTE: According to the [`typed-process` documentaiton](https:/github.comfpco/typed-process#readme), "it's highly recommended that you compile any program using this library with the multi-threaded runtime, usually by adding ghc-options: -threaded to your executable stanza in your cabal or package.yaml file. The single-threaded runtime necessitates some inefficient polling to be used under the surface."