controller

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JiraController

type JiraController struct {
	// contains filtered or unexported fields
}

func NewJiraController

func NewJiraController(config *repo.Config) (jc *JiraController, err error)

func (*JiraController) Add

func (jc *JiraController) Add(project, jiraID string, targetBranch []string) (err error)

Add 添加Jira

func (*JiraController) CheckBranchMerged

func (jc *JiraController) CheckBranchMerged(project, jiraId string) (err error)

func (*JiraController) Clear

func (jc *JiraController) Clear(project string, disableCheckMerged bool) (err error)

Clear 检查目标分支中是否已合并定时任务若,若已合并则标记,同时删除本地以及远程分支 配合定时任务,保持本地项目和远程项目的分支简洁性

func (*JiraController) Del

func (jc *JiraController) Del(project, jiraID string) (err error)

Del 删除Jira

func (*JiraController) Detach

func (jc *JiraController) Detach(project, jiraID, branch string) error

func (*JiraController) Print

func (jc *JiraController) Print(project, jiraId string) (err error)

Print 打印出那些为合并完成的Jira

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL