branch

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateBranchUseCase

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

func NewCreateBranchUseCase

func NewCreateBranchUseCase(branchRepo repository.BranchRepository, commitRepo repository.CommitRepository) *CreateBranchUseCase

func (*CreateBranchUseCase) Execute

func (uc *CreateBranchUseCase) Execute(name string) (entity.Branch, error)

type ListBranchesUseCase

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

func NewListBranchesUseCase

func NewListBranchesUseCase(branchRepo repository.BranchRepository) *ListBranchesUseCase

func (*ListBranchesUseCase) Execute

func (uc *ListBranchesUseCase) Execute() ([]entity.Branch, error)

type SwitchBranchUseCase

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

func NewSwitchBranchUseCase

func NewSwitchBranchUseCase(branchRepo repository.BranchRepository) *SwitchBranchUseCase

func (*SwitchBranchUseCase) Execute

func (uc *SwitchBranchUseCase) Execute(name string) error

Jump to

Keyboard shortcuts

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