Documentation
¶
Index ¶
- Constants
- func BranchesHaveMergedTo(name, remote string, opt *types.Options) ([]*types.Branch, error)
- func Checkout(name string, opt *types.Options) error
- func CheckoutNew(name string, opt *types.Options) (*types.Branch, error)
- func Create(name string, createOpt *CreateOption, opt *types.Options) (*types.Branch, error)
- func Current(opt *types.Options) (*types.Branch, error)
- func Delete(name string, opt *types.Options) error
- func DeleteAll(branches []string, opt *types.Options) error
- func Get(name, remote string, opt *types.Options) (*types.Branch, error)
- func List(listOpt *ListOption, opt *types.Options) ([]*types.Branch, error)
- type CreateOption
- type Git2GoBranchType
- type Git2GoCreateOption
- type Git2GoListOption
- type GoGitCreateOption
- type ListOption
Constants ¶
View Source
const ( BranchAll = git.BranchAll BranchLocal = git.BranchLocal BranchRemote = git.BranchRemote )
Variables ¶
This section is empty.
Functions ¶
func BranchesHaveMergedTo ¶
Types ¶
type CreateOption ¶
type CreateOption struct { Git2Go Git2GoCreateOption GoGit GoGitCreateOption }
type Git2GoBranchType ¶
type Git2GoCreateOption ¶
type Git2GoListOption ¶
type Git2GoListOption struct {
Type git.BranchType
}
type GoGitCreateOption ¶
type ListOption ¶
type ListOption struct {
Git2Go Git2GoListOption
}
Click to show internal directories.
Click to hide internal directories.