add

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddContextUseCase

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

func NewAddContextUseCase

func NewAddContextUseCase(
	contextRepo repository.ContextRepository,
	stagingRepo repository.StagingRepository,
	hasherService service.HasherService,
	aiDetector service.AIDetectorService,
	projectRoot string,
) *AddContextUseCase

func (*AddContextUseCase) Execute

func (uc *AddContextUseCase) Execute(filePaths []string, aiTool entity.AITool) (AddResult, error)

type AddResult

type AddResult struct {
	StagedFiles []string
	AITool      entity.AITool
}

Jump to

Keyboard shortcuts

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