Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface {
Init() Template
Clone(repo string, opts ...string) Template
CloneTagOrBranch(repo, tagOrBranch string, opts ...string) Template
RemoteBranches() Template
RemoteList() Template
RemoteAdd(name, url string) Template
Fetch(opts ...string) Template
Pull() Template
Push(branch string) Template
Checkout(args ...string) Template
Merge(arg string) Template
Branch(opts ...string) Template
NewBranch(branch string) Template
SubmoduleUpdate(opts ...string) Template
SubmoduleForeach(args ...string) Template
Log(format string, opts ...string) Template
RevList(commit string, opts ...string) Template
RevParse(arg string) Template
UpdateRef(opts ...string) Template
Config(key string, value string, opts ...string) Template
SparseCheckoutInit(cone bool) Template
SparseCheckoutSet(opts ...string) Template
Reset(mode, commit string) Template
Clean(options ...string) Template
Add(pathspec string) Template
Apply(patch string) Template
Commit(message string) Template
Status(opts ...string) Template
}
Factory ...
func DefaultFactory ¶
DefaultFactory ...
Click to show internal directories.
Click to hide internal directories.