Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLocalGitOrgs ¶ added in v0.0.3
Types ¶
type GitBranch ¶
type GitBranch struct { Info *GitRepository Name string RefName string Ref *plumbing.Reference }
type GitBranches ¶
func NewBranches ¶
func NewBranches() GitBranches
func (*GitBranches) DefaultBranch ¶
func (b *GitBranches) DefaultBranch() *GitBranch
func (*GitBranches) Delete ¶
func (b *GitBranches) Delete()
func (*GitBranches) FilterByNames ¶
func (b *GitBranches) FilterByNames(names []string) *GitBranches
func (*GitBranches) GetByName ¶
func (b *GitBranches) GetByName(branchName string) *GitBranch
func (*GitBranches) NonDefaultNames ¶
func (b *GitBranches) NonDefaultNames() []string
type GitOrg ¶ added in v0.0.3
func (*GitOrg) Repos ¶ added in v0.0.3
func (o *GitOrg) Repos() *[]GitRepository
type GitRepository ¶
type GitRepository struct { Name string Path string AbsPath string Exists bool Repo *git.Repository DefaultBranch string }
func NewGitRepository ¶
func NewGitRepository(path string) *GitRepository
func (*GitRepository) Branches ¶
func (r *GitRepository) Branches() *GitBranches
func (*GitRepository) CreateBranch ¶
func (r *GitRepository) CreateBranch(branchName string) *GitBranch
Click to show internal directories.
Click to hide internal directories.