Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListBranch ¶ added in v1.226.5
func ListBranch(ctx context.Context, ref string, filter ...BranchFilter) ([]api.BranchResponse, error)
Types ¶
type BranchFilter ¶ added in v1.226.5
type BranchFilter func(api.BranchResponse) bool
func FilterByName ¶ added in v1.226.5
func FilterByName(branchName string) BranchFilter
Click to show internal directories.
Click to hide internal directories.