Documentation ¶
Index ¶
- type ImpWorktreeDao
- func (inst *ImpWorktreeDao) Find(id dxo.WorktreeID) (*entity.Worktree, error)
- func (inst *ImpWorktreeDao) FindByPath(path string) (*entity.Worktree, error)
- func (inst *ImpWorktreeDao) Insert(o *entity.Worktree) (*entity.Worktree, error)
- func (inst *ImpWorktreeDao) ListAll() ([]*entity.Worktree, error)
- func (inst *ImpWorktreeDao) Remove(id dxo.WorktreeID) error
- func (inst *ImpWorktreeDao) Update(id dxo.WorktreeID, o1 *entity.Worktree) (*entity.Worktree, error)
- type ImpWorktreeService
- func (inst *ImpWorktreeService) Find(ctx context.Context, id dxo.WorktreeID, opt *service.WorktreeOptions) (*dto.Worktree, error)
- func (inst *ImpWorktreeService) FindByPath(ctx context.Context, path string, opt *service.WorktreeOptions) (*dto.Worktree, error)
- func (inst *ImpWorktreeService) Insert(ctx context.Context, o1 *dto.Worktree) (*dto.Worktree, error)
- func (inst *ImpWorktreeService) InsertOrFetch(ctx context.Context, o1 *dto.Worktree, opt *service.WorktreeOptions) (*dto.Worktree, error)
- func (inst *ImpWorktreeService) ListAll(ctx context.Context, opt *service.WorktreeOptions) ([]*dto.Worktree, error)
- func (inst *ImpWorktreeService) Remove(ctx context.Context, id dxo.WorktreeID) error
- func (inst *ImpWorktreeService) Update(ctx context.Context, id dxo.WorktreeID, o1 *dto.Worktree) (*dto.Worktree, error)
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) 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 ¶
func (inst *ImpWorktreeService) Find(ctx context.Context, id dxo.WorktreeID, opt *service.WorktreeOptions) (*dto.Worktree, error)
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 ...
Click to show internal directories.
Click to hide internal directories.