worktrees

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImpWorktreeDao

type ImpWorktreeDao struct {
	markup.Component `id:"WorktreeDAO"`

	Agent          dbagent.GormDBAgent    `inject:"#GormDBAgent"`
	TrashService   service.TrashService   `inject:"#TrashService"`
	UUIDGenService service.UUIDGenService `inject:"#UUIDGenService"`
}

ImpWorktreeDao ...

func (*ImpWorktreeDao) Find

func (inst *ImpWorktreeDao) Find(id dxo.WorktreeID) (*entity.Worktree, error)

Find ...

func (*ImpWorktreeDao) FindByPath

func (inst *ImpWorktreeDao) FindByPath(path string) (*entity.Worktree, error)

FindByPath ...

func (*ImpWorktreeDao) Insert

func (inst *ImpWorktreeDao) Insert(o *entity.Worktree) (*entity.Worktree, error)

Insert ...

func (*ImpWorktreeDao) ListAll

func (inst *ImpWorktreeDao) ListAll() ([]*entity.Worktree, error)

ListAll ...

func (*ImpWorktreeDao) Remove

func (inst *ImpWorktreeDao) Remove(id dxo.WorktreeID) error

Remove ...

func (*ImpWorktreeDao) Update

func (inst *ImpWorktreeDao) Update(id dxo.WorktreeID, o1 *entity.Worktree) (*entity.Worktree, error)

Update ...

type ImpWorktreeService

type ImpWorktreeService struct {
	markup.Component `id:"WorktreeService"`

	FileSystemService service.FileSystemService     `inject:"#FileSystemService"`
	LocationService   service.LocationService       `inject:"#LocationService"`
	RepoFinder        service.LocalRepositoryFinder `inject:"#LocalRepositoryFinder"`
	DAO               dao.WorktreeDAO               `inject:"#WorktreeDAO"`
}

ImpWorktreeService ...

func (*ImpWorktreeService) Find

Find ...

func (*ImpWorktreeService) FindByPath

func (inst *ImpWorktreeService) FindByPath(ctx context.Context, path string, opt *service.WorktreeOptions) (*dto.Worktree, error)

FindByPath ...

func (*ImpWorktreeService) Insert

func (inst *ImpWorktreeService) Insert(ctx context.Context, o1 *dto.Worktree) (*dto.Worktree, error)

Insert ...

func (*ImpWorktreeService) InsertOrFetch

func (inst *ImpWorktreeService) InsertOrFetch(ctx context.Context, o1 *dto.Worktree, opt *service.WorktreeOptions) (*dto.Worktree, error)

InsertOrFetch ...

func (*ImpWorktreeService) ListAll

func (inst *ImpWorktreeService) ListAll(ctx context.Context, opt *service.WorktreeOptions) ([]*dto.Worktree, error)

ListAll ...

func (*ImpWorktreeService) Remove

func (inst *ImpWorktreeService) Remove(ctx context.Context, id dxo.WorktreeID) error

Remove ...

func (*ImpWorktreeService) Update

func (inst *ImpWorktreeService) Update(ctx context.Context, id dxo.WorktreeID, o1 *dto.Worktree) (*dto.Worktree, error)

Update ...

Jump to

Keyboard shortcuts

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