{"modulePath":"github.com/git-roll/libgitgo","version":"v0.0.0-20201122092714-19080938c394","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package libbranch\n\n## Constants\n\n```go\nconst (\n\tBranchAll    = git.BranchAll\n\tBranchLocal  = git.BranchLocal\n\tBranchRemote = git.BranchRemote\n)\n```\n\n## Functions\n\n```go\nfunc BranchesHaveMergedTo(name, remote string, opt *types.Options) ([]*types.Branch, error)\n```\n\n```go\nfunc Checkout(name string, opt *types.Options) error\n```\n\n```go\nfunc CheckoutNew(name string, opt *types.Options) (*types.Branch, error)\n```\n\n```go\nfunc Create(name string, createOpt *CreateOption, opt *types.Options) (*types.Branch, error)\n```\n\n```go\nfunc Current(opt *types.Options) (*types.Branch, error)\n```\n\n```go\nfunc Delete(name string, opt *types.Options) error\n```\n\n```go\nfunc DeleteAll(branches []string, opt *types.Options) error\n```\n\n```go\nfunc Get(name, remote string, opt *types.Options) (*types.Branch, error)\n```\n\n```go\nfunc List(listOpt *ListOption, opt *types.Options) ([]*types.Branch, error)\n```\n\n## Types\n\n```go\ntype CreateOption struct {\n\tGit2Go Git2GoCreateOption\n\tGoGit  GoGitCreateOption\n}\n```\n\n```go\ntype Git2GoBranchType git.Branch\n```\n\n```go\ntype Git2GoCreateOption struct {\n\tTarget string\n\tForce  bool\n}\n```\n\n```go\ntype Git2GoListOption struct {\n\tType git.BranchType\n}\n```\n\n```go\ntype GoGitCreateOption struct {\n\tRemote string\n\tMerge  string\n\tRebase string\n}\n```\n\n```go\ntype ListOption struct {\n\tGit2Go Git2GoListOption\n}\n```\n\n","path":"github.com/git-roll/libgitgo/pkg/libbranch","name":"libbranch","synopsis":"","isRedistributable":true}
