Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchListBuilder ¶
type BranchListBuilder struct { Log *logrus.Entry GitCommand *commands.GitCommand }
BranchListBuilder returns a list of Branch objects for the current repo
func NewBranchListBuilder ¶
func NewBranchListBuilder(log *logrus.Entry, gitCommand *commands.GitCommand) (*BranchListBuilder, error)
NewBranchListBuilder builds a new branch list builder
func (*BranchListBuilder) Build ¶
func (b *BranchListBuilder) Build() []*commands.Branch
Build the list of branches for the current repo
type CommitListBuilder ¶ added in v0.8.1
type CommitListBuilder struct { Log *logrus.Entry GitCommand *commands.GitCommand OSCommand *commands.OSCommand Tr *i18n.Localizer CherryPickedCommits []*commands.Commit DiffEntries []*commands.Commit }
CommitListBuilder returns a list of Branch objects for the current repo
func NewCommitListBuilder ¶ added in v0.8.1
func NewCommitListBuilder(log *logrus.Entry, gitCommand *commands.GitCommand, osCommand *commands.OSCommand, tr *i18n.Localizer, cherryPickedCommits []*commands.Commit, diffEntries []*commands.Commit) (*CommitListBuilder, error)
NewCommitListBuilder builds a new commit list builder
func (*CommitListBuilder) GetCommits ¶ added in v0.8.1
func (c *CommitListBuilder) GetCommits() ([]*commands.Commit, error)
GetCommits obtains the commits of the current branch
type PatchModifier ¶ added in v0.8.1
func NewPatchModifier ¶ added in v0.8.1
func NewPatchModifier(log *logrus.Entry) (*PatchModifier, error)
NewPatchModifier builds a new branch list builder
Source Files
¶
- branch_list_builder.go
- commit_list_builder.go
- patch_modifier.go
- patch_parser.go
Click to show internal directories.
Click to hide internal directories.