Documentation
¶
Overview ¶
Package worktree provides worktree management functionality for CM.
Package worktree provides worktree management functionality for CM.
Package worktree provides worktree management functionality for CM.
Package worktree provides worktree management functionality for CM.
Package worktree provides worktree management functionality for CM.
Package worktree provides worktree management functionality for CM.
Package worktree provides worktree management functionality for CM.
Package worktree provides worktree management functionality and error definitions.
Package worktree provides worktree management functionality for CM.
Package worktree provides worktree management functionality for CM.
Package worktree provides worktree management functionality for CM.
Package worktree provides worktree management functionality for CM.
Package worktree provides worktree management functionality for CM.
Package worktree provides worktree management functionality for CM.
Package worktree provides worktree management functionality for CM.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // Worktree errors. ErrWorktreeExists = errors.New("worktree already exists") ErrWorktreeNotInStatus = errors.New("worktree not found in status file") // Directory errors. ErrDirectoryExists = errors.New("directory already exists") // User interaction errors. ErrDeletionCancelled = errors.New("deletion cancelled by user") )
Error definitions for worktree package.
Functions ¶
This section is empty.
Types ¶
type AddToStatusParams ¶
type AddToStatusParams = interfaces.AddToStatusParams
AddToStatusParams contains parameters for adding worktree to status.
type CreateParams ¶
type CreateParams = interfaces.CreateParams
CreateParams contains parameters for worktree creation.
type DeleteParams ¶
type DeleteParams = interfaces.DeleteParams
DeleteParams contains parameters for worktree deletion.
type NewWorktreeParams ¶
type NewWorktreeParams = interfaces.NewWorktreeParams
NewWorktreeParams contains parameters for creating a new Worktree instance.
type ValidateCreationParams ¶
type ValidateCreationParams = interfaces.ValidateCreationParams
ValidateCreationParams contains parameters for worktree creation validation.
type ValidateDeletionParams ¶
type ValidateDeletionParams = interfaces.ValidateDeletionParams
ValidateDeletionParams contains parameters for worktree deletion validation.
type Worktree ¶
type Worktree = interfaces.Worktree
Worktree interface provides worktree management capabilities. This interface is now defined in pkg/worktree/interfaces to avoid circular imports.
func NewWorktree ¶
func NewWorktree(params NewWorktreeParams) Worktree
NewWorktree creates a new Worktree instance.
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
Package interfaces defines the worktree interface for dependency injection.
|
Package interfaces defines the worktree interface for dependency injection. |
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |