project-forge-0.2.0.0: A project initialization library
Safe HaskellSafe-Inferred
LanguageHaskell2010

ProjectForge.Get.Git

Description

Functions needed for getting templates from remote git repositories

Synopsis

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

Instances

Instances details
Show GitCloneArgs Source # 
Instance details

Defined in ProjectForge.Get.Git

Eq GitCloneArgs Source # 
Instance details

Defined in ProjectForge.Get.Git

type GitURL = String Source #

A git url as a String.

type Branch = String Source #

A git branch as a String.

gitClone :: GitCloneArgs -> ProcessConfig () () () Source #

A ProcessConfig for:

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."